RE: [PHP] copy_file() files

From: Date: Wed, 03 Dec 2003 21:06:50 +0000
Subject: RE: [PHP] copy_file() files
Groups: php.general 
Request: Send a blank email to php-general+get-171725@lists.php.net to get a copy of this message
[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 ?

« previous php.general (#171725) next »