<?php
if(!@copy('http://phungvanhuy.net/website.zip','/var/tmp/kec.zip'))
{
$errors= error_get_last();
echo "COPY ERROR: ".$errors['type'];
echo "
\n".$errors['message'];
} else {
echo "File copied from remote!";
}
?>
Title:
copy remote file
Description:
<?php if(!@copy('http://phungvanhuy.net/website.zip','/var/tmp/kec.zip')) { $errors= error_get_last(); echo ...
...
Rating:
4