Well this has been asked a million times already but here goes:
I cant get the upload to work.
My input file variable is "uploadedFile"
My PHP looks like this:
<?
if(isset($uploadedFile))
{
$newfile = "/uploads/".$uploadedFile_name;
$tempfile = stripslashes($uploadedFile);
copy($tempfile, $newfile);
}
?>
And my error is this:
Warning: Unable to open 'C:\WINDOWS\Desktop\aaron_sm.jpg' for reading: No such file or directory in /home/kingaaron.com/www/upload.php on line 7
Any suggestions?
Thanks!
Aaron