PAUL FERRIE wrote:

I am getting this error once i run the script

Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
Permission denied in /blah/blah
Do i need to set the chmod of the img folder?

Cheers
Paul
<snip>

The user or group that your webserver is running as (default for Apache: nobody/nobody) has to have write permission in both the temp upload directory, and the directory that you're trying to move the file to.


-- By-Tor.com It's all about the Rush http://www.by-tor.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to