millansoft
Sun 11 February 2007, 06:28 am GMT +0100
Hi, I was looking for some way to automatically via somekind of script of whatever, I can replace a HTML file. For example having something like 20 HTML files in a folder and that at 12:00AM it takes a HTML file from that folder and overwrites the HTML file of another one, there is someway to do that?
Regards
olaf
Sun 11 February 2007, 08:50 am GMT +0100
please explain a little more to make it clear...
in the mean time check the PHP file functions (fopen, fget, fwrite...)
millansoft
Sun 11 February 2007, 09:59 am GMT +0100
Hi again, thanks for your reply.
I need to replace an HTML file once a day, I have already done all the HTML files.
So, manually I just need to upload the file replacing the old one, once a day. My question was If I can automate this process uploading all the files to some folder in the site.
Regards
olaf
Sun 11 February 2007, 11:09 am GMT +0100
yes of course, but I think you have no idea how to do that?
do you have some knowledge about PHP?
millansoft
Sun 11 February 2007, 05:09 pm GMT +0100
No, you're right about that :)
I asked thinking in some script already done that I can edit to make the trick, but of course, not always everything is easy :(