Hi,

Can anyone help with file upload?

I am uploading file through the form

And on the page where I get the variables from
the form I say:

if(!userfile)
   echo "ERROR";

$filelocation="/tmp";

copy($userfile, $filelocation)

The message I get in my browser is:

Warning: Unable to open 'C:\\Documents and
Settings\\vlad\\Desktop\\satellite\\florida.jpg' for reading: No such
file or directory in /var/www/kulchitski/btl/_talkroom_submit.php on
line 15


Can anyone suggest anything?
Thanks in advance guys
Vlad

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

Reply via email to