mkdir() permissions

From: Date: Wed, 18 Aug 2004 17:32:09 +0000
Subject: mkdir() permissions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194174@lists.php.net to get a copy of this message
Hi I am new to PHP and I'm trying that my script checks if a directory exists and if not, it should create it. I'm doing it with mkdir() but it returns this error message: Warning: mkdir(0): Permission denied in /xxxxxx on line 32 I wonder what kind of permissions should I set. This should be doable by any visitor. Thanks for your help. Percy __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail

« previous php.general (#194174) next »