I'm a newbie to all this so I was hoping someone here might be able to help me as to why this line of code (which worked fine under PHP3) won't work for me since we upgraded to PHP4.
copy("$file", "/home/usersname/directory/$newfilename.$fileformat
$file
$newfilename
& $fileformat are all either defined in the form or above this piece of code in the do_upload.php script.
I keep getting this message when I try to submit the form:
"Warning: Unable to open 'C:\My Documents\handbook.doc' for reading: No such file or directory in /home/union/public_html/eepss/do_upload.php on line 36"
Can anyone help me?