Re: Upload --Permission denied simple error...

From: Date: Tue, 27 Feb 2001 22:32:03 +0000
Subject: Re: Upload --Permission denied simple error...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41896@lists.php.net to get a copy of this message
You need to be copying files to a directory that the user PHP runs as has write-access to. Windows NT file permissions are accessed by using right-click. Other Windows versions, only Bill Gates knows. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Dhaval Desai <dhaval_adams@yahoo.com> Newsgroups: php.general Sent: Saturday, February 24, 2001 1:31 AM Subject: [PHP] Upload --Permission denied simple error... > hi! > > > I have fws simple lines: > > <?php > if ($userfile) { > copy($userfile, "C:\\"); > } else { > echo "Possible file upload attack: filename > '$userfile'."; > } > > ?> > > > Warning: Unable to create 'C:\': Permission denied in > c:\phpdev2\www\upload\action.php on line 3 > > > > and I get this error..I tried coyping to D:\ too but > the same error.. > > > > Can u tell me what could be the problem possibly.. > > Thank you > Dhaval Desai > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#41896) next »