[snip] I recently upgraded PHP and now have two sites that use copy_file() that no longer work. I have safe_mode=Off in my php.ini. Also, the files and directories Furthermore, the file and directories Im trying to copy files to are owned by user nobody and group nobody (My Apache server runs as user nobody in group nobody).
Im assuming its some permissions problem. If I continuously list files in /tmp, I see the uploaded file appear but then the copy_file() fails and the temp file disappears. [/snip] What is the chmod of those files/directories. Also, there is no copy_file() function listed at php.net...could this be a user built function? Or are you talking about http://www.php.net/copy ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php