Re: [PHP] Can't Make Directories Now

2003-09-01 Thread Seth Willits
print $buildingPath . ''; if (opendir($buildingPath) == false) if (!mkdir($buildingPath)) print 'false '; A print("false $buildingPath") might yield as to why it isn't creating it. I already di

Re: [PHP] Can't Make Directories Now

2003-09-01 Thread Seth Willits
On Monday, September 1, 2003, at 03:41 PM, Curt Zirzow wrote: print $buildingPath . ''; if (opendir($buildingPath) == false) if (!mkdir($buildingPath)) print 'false '; A print("false $buildin

Re: [PHP] Can't Make Directories Now

2003-09-01 Thread Curt Zirzow
* Thus wrote Seth Willits ([EMAIL PROTECTED]): >$path = "path/path2/path3/path4/path5"; > $buildingPath = "existingFolder"; > $pathComponents = split("/", $path); > > > foreach ($pathComponents as $value) { > $buildingPath = $buildingPath . "/" . $val