On Thursday 25 October 2001 10:08, you wrote: > <? > $GalleryPHPName = "Pins"; > mkdir ("../$GalleryPHPName", "0775"); > ?> > > Results in... > > MkDir failed (Permission denied)
When you use a file-related command (fopen, mkdir, etc.) you're executing that command under the same user-context that apache runs under. (usually "nobody" on shared servers) So, you need to make sure that user "nobody" has write permissions on the parent directory where you're trying to create your directory. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]