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

[PHP] Can't Make Directories Now

2003-09-01 Thread Seth Willits
I figured out the permissions issue to allow gd to create image files, but I also need to create folders for those images. I've come up with a routine (below) but it fails to create the directories. I've made sure that the directory that the first directory is created in has the appropriate