Re: Can't Make Directories Now

From: Date: Mon, 01 Sep 2003 23:32:51 +0000
Subject: Re: Can't Make Directories Now
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161399@lists.php.net to get a copy of this message
On Monday, September 1, 2003, at 03:41 PM, Curt Zirzow wrote:
print $buildingPath . '<br>'; if (opendir($buildingPath) == false) if (!mkdir($buildingPath)) print 'false <br>';
A print("false $buildingPath<br>") might yield as to why it isn't creating it.
I already did that and like I said, it's always the correct path. Look at the very first line of the code above which was in the original path. Thanks for the tip on is_dir. Seth Willits --------------------------------------------------------------------------- President and Head Developer of Freak Software - http://www.freaksw.com Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames "Rather fail with honor than succeed by fraud."
        -- Sophocles
---------------------------------------------------------------------------


« previous php.general (#161399) next »