PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi, I created a form that uploads files into my server (for CMS system) and it all seems to work well except that when after the file is uploaded, I can't find it. I used the script below to move it to what I think is the correct place but it isn't there when I check. Any insight would be appreciated
move_uploaded_file($_FILESї'upload_snd']ї'tmp_name'],"..downloads/$filename");
echo'<p>The sound file has been uploaded!</p>';
Is there anyway I can verify that the file is indeed being uploaded? I tried to navigate to the tmp_name to see if it is there but that doesn't work either.
tags when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
I did it (code is below) but it didn't make a difference. I still can't find the file.
No, IE on a PC. When I try to post the errors (either by cut and paste or retyping I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, wwwadmin@devnetwork.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.