i am trying to upload file to my website but I keep getting this error:
Warning: Unable to open 'C:\WINDOWS\Desktop\bnr17.gif' for reading: No such file or directory in /home/www/htdocs/blah/admin/insertescort.php on line 10
Error: could not copy file.
This is what I am using to copy to the file
$path="/home/www/htdocs/blah";
copy($photo, $path."/".$photo_name) or die("<b>Error:</b> could not copy file.");
why is the script putting in the extra slashes?