Page 1 of 1

auto update using php.. how??

Posted: Mon Apr 14, 2008 11:28 pm
by fird01
is it possible to make a php code to auto download file and replace the file in the server so that it can remotely update the file by itself.. everytime a page load...???

Re: auto update using php.. how??

Posted: Tue Apr 15, 2008 1:07 pm
by andym01480
file_get_contents() is a good function as are fopen(),fwrite() and fclose(). Have a look at the manual http://www.php.net, have a go and post some code if you have problems!