UPLOADING IMAGE
| From: | Dani | Date: | Sat, 25 May 2002 23:58:54 +0000 |
| Subject: | UPLOADING IMAGE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99267@lists.php.net to get a copy of this message | ||
What's wrong with my code?
<?php
if($file)
{
print("file name :$file_name<P>\n");
if (copy($file,"http://sarjito/img/"))
{
print("file uploaded");
}
unlink($file);
}
?>
Any advise is welcome.
Thanks,
Dani