RE: [PHP] mkdir after mkdir

2004-06-07 Thread Uttam
to create subdirectory. Regards, -Original Message- From: Gerben [mailto:[EMAIL PROTECTED] Sent: Sunday, June 06, 2004 23:39 To: [EMAIL PROTECTED] Subject: Re: [PHP] mkdir after mkdir Unfortunately my server has no ftp (but SSH). It makes much sence what you said, but how can PHP (with uid

[PHP] mkdir after mkdir

2004-06-06 Thread Gerben
Hello, I have a problem with the mkdir function. I'm trying to make a seperate folder every photoalbum. inside I want to create another folder ('.../thumbnails/') for, you can guess, the thumbnails. At first it didn't work at all: Warning: mkdir() failed (Permission denied) in

Re: [PHP] mkdir after mkdir

2004-06-06 Thread Daniel Clark
I think PHP and mkdir() is using the web servers rights. So the web server would need rights to create directories. Hello, I have a problem with the mkdir function. I'm trying to make a seperate folder every photoalbum. inside I want to create another folder ('.../thumbnails/') for, you can

Re: [PHP] mkdir after mkdir

2004-06-06 Thread Marek Kilimajer
Gerben wrote: Hello, I have a problem with the mkdir function. I'm trying to make a seperate folder every photoalbum. inside I want to create another folder ('.../thumbnails/') for, you can guess, the thumbnails. At first it didn't work at all: Warning: mkdir() failed (Permission denied) in

Re: [PHP] mkdir after mkdir

2004-06-06 Thread Gerben
I have those rights since the first dir is created. the problem is that the 2nd is not created Daniel Clark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think PHP and mkdir() is using the web servers rights. So the web server would need rights to create directories. Hello,

Re: [PHP] mkdir after mkdir

2004-06-06 Thread Gerben
Unfortunately my server has no ftp (but SSH). It makes much sence what you said, but how can PHP (with uid=48) make a directory with uid=1042. both folder are (to be) made the same script, but only one is (with uid=1042). This is what makes it very peculiar. I think I have skip the idea of

Re: [PHP] mkdir after mkdir

2004-06-06 Thread Kevin Murphy
I'm still kind of a newbie at this, but couldn't you accomplish this by doing each MKDIR separately with a series of ELSE/IF statements. The basic logic would be: Check if parent DIR exists. If not, create one and then go on If yes: Check if Child DIR Exists

Re: [PHP] mkdir after mkdir

2004-06-06 Thread Marek Kilimajer
Gerben wrote: Unfortunately my server has no ftp (but SSH). It makes much sence what you said, but how can PHP (with uid=48) make a directory with uid=1042. both folder are (to be) made the same script, but only one is (with uid=1042). This is what makes it very peculiar. I think I have skip the