Re: [PHP] Can't Make Directories Now

2003-09-02 Thread Seth Willits
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

Re: [PHP] Can't Make Directories Now

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

[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

Re: [PHP] Can't Make Directories Now

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