[PHP] Moving Files - Stupid Error

2002-08-16 Thread Steve Keller
Hey all, I need a little help with moving a file on the server after an upload. Our company site is hosted, so I don't have full access to the configuration files, but I can do a PHP_info dump if you need more clarification. Using 4.0.1pl2. What I'm doing is uploading a file from a form, and

Re: [PHP] Moving Files - Stupid Error

2002-08-16 Thread Justin French
The function move_uploaded_file() is what you want, not copy(). http://php.net/move_uploaded_file Of course, there are full working examples in the manual, found doing a simple whole-site search on file upload. http://www.php.net/manual/en/features.file-upload.php Justin French on