View Single Post
Old 06-15-2008, 10:47 PM   #13 (permalink)
ciprianmp
The Wanderer
 
ciprianmp's Avatar
 
Join Date: Jun 2008
Location: Bucharest, Romania
Posts: 14
Thanks: 6
ciprianmp is on a distinguished road
Default

I think copy("src_file", "dest_file") should work on php4 for cache...

Also file() is the php4 version of file_get_contents() only that the output is not put into a string - php.net manual for more details/limitations...

Note this:
file_put_contents
Write a string to a file (PHP 5)
int file_put_contents ( string filename, mixed data [, int flags [, resource context]] )
This function is identical to calling fopen(), fwrite() and fclose() successively to write data to a file.

Last edited by ciprianmp : 06-15-2008 at 11:01 PM. Reason: Ading some php4 resources for Ryan
ciprianmp is offline  
Reply With Quote