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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to