Re: Creating file & file permissions

From: Date: Sat, 23 Nov 2002 05:15:19 +0000
Subject: Re: Creating file & file permissions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125708@lists.php.net to get a copy of this message
Hi All I'm trying to create temp files with my script. I'm using the line $fp = fopen("users/temp123", "w+"); which produces the follow error Warning: fopen("users/temp123", "w+") - Permission denied in /webSite/signup.php on line 71 How do I get around this??
Make sure the 'users' directory is chmod'd correctly (777) so your PHP script has the ability (ie: permissions) to write/create files inside. -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/

« previous php.general (#125708) next »