Mike wrote:
hi, there!
I have a script that basically tries to upload a file to the server. But when the
move_uploaded_function is called, it returns these errors:
Warning: move_uploaded_file(../Main/ImgStiri/ceva.jpg): failed to open stream: Permission denied in /home/gotech/public_html/Nou/functii.php on line 81
The webserver user does not have permission to writeo to this directory.
before you execute this script use your ftp client to set the correct
permissions on the folder. You can start with 777 and go to a more
restrictive permission later on if when things are going on smoothly.
--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php