I have a client that whats me to redesign a site for them, so I will be using CSS. They also want me to be able to update the style sheet. I need to use javascript to re-write the file and then create a back-up file of the file that it just replaced. Then after 5 back-ups, the oldest style sheet is deleted.
Both of these files will be placed in the same folder on a unix webserver and the it will have a folder named back-up for all the 5 backed-up style sheets.
It needs to be able to work in IE and firefox (at least)
I have no clue on where to start since I have never done file editing and creation in javascript before (i have in php)
thanks
dave
Javascript: write Contents back to a file
Page 1 of 12 Replies - 1368 Views - Last Post: 26 June 2007 - 02:44 PM
Replies To: Javascript: write Contents back to a file
#2
Re: Javascript: write Contents back to a file
Posted 26 June 2007 - 01:21 PM
That shouldn't be done in Javascript. Use PHP.
2¢
2¢
#3
Re: Javascript: write Contents back to a file
Posted 26 June 2007 - 02:44 PM
Actually it's pretty much impossible using straight javascript.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|