move_uploaded_file problem...
Posted: Wed Dec 22, 2004 3:01 pm
I had code that worked under windows/apache2/php5, gentoo linux/apache2/php5, now im running it under freebsd 5.3/apache2/php5.
I get the error
I get the error
The var/tmp folder is chmodded 777, as well as the destination directory. Ive double checked the destination directory, even hard coded it, and still no luck. Any idea whats going on?Warning: move_uploaded_file(/usr/local/www/xxxxxx/script/temp/galleries/X4zV7eJ1j.zip) [function.move-uploaded-file]: failed to open stream: Permission denied in /usr/local/www/xxxxxx/script/admin/add_gallery.php on line 118
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/php6KQ2pb' to '/usr/local/www/xxxxxx/script/temp/galleries/X4zV7eJ1j.zip' in /usr/local/www/xxxxxx/script/admin/add_gallery.php on line 118