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/


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

Reply via email to