Hi, I'm trying to make a copy of a webpage, specified by the user (say, through a form) to the server itself. So far I've done this:
******************************* $LocalFile="written.html"; $fp = @fopen($file,"r"); if ($fp) { $out=fopen ($LocalFile,"w"); while (!feof($fp)) { $temp=fread($fp,4096); fputs($out, $temp); } print"Page written to written.html\n"; } else { print"This page does not exist\n"; } fclose($fp); fclose($out); ******************************* This works, but takes a wee bit of time to do it and I was wondering if anyone know whether there is simply a command that does it? Ta Ross -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]