Re: Form with browse for file to upload "ftp"

From: Date: Sat, 22 Nov 2003 20:25:43 +0000
Subject: Re: Form with browse for file to upload "ftp"
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-170688@lists.php.net to get a copy of this message
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

« previous php.general (#170688) next »