RE: [PHP] SAFE MODE Restriction - mkdir()

2004-11-25 Thread SED
This answer from Mike solved this (e.g. create a CGI process for this task): [...] So, yes, you can create a directory which it is then impossible to access -- this is an unfortunate side-effect of safe mode when PHP runs as an Apache module and hence as the Apache user. This is why hosted serv

Re: [PHP] SAFE MODE Restriction - mkdir()

2004-11-25 Thread Marek Kilimajer
SED wrote: It just seems not making sence. I have read the manual and it does not explain this specially. If the user owns this folder: "www\myfolders" And runs a PHP-script in safe mode that creates the folder "www\myfolders\who". Who owns the "who" folder? If the webserver is run under user nobod

RE: [PHP] SAFE MODE Restriction - mkdir()

2004-11-25 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 25 November 2004 00:47, SED wrote: > Then, shouldn't the owner be able to handle the new directory? > > In my case, the owner creates the directory X but can't create a > subdir

Re: [PHP] SAFE MODE Restriction - mkdir()

2004-11-24 Thread Michael Leung
Hi, I have faced the same problem after the upgrade my server from php 4.2.2 to php 5.0.2. I tested mkdir() in both in safe_mode on and off. I have posted this to php-bug. yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] SAFE MODE Restriction - mkdir()

2004-11-24 Thread SED
time. Regards, Summi -Original Message- From: Michael Leung [mailto:[EMAIL PROTECTED] Sent: 25. nóvember 2004 03:21 To: SED Cc: [EMAIL PROTECTED] Subject: Re: [PHP] SAFE MODE Restriction - mkdir() Hi sed, which version of PHP you using? may not be just Safe Mode. is it the script wo

Re: [PHP] SAFE MODE Restriction - mkdir()

2004-11-24 Thread Michael Leung
Hi sed, which version of PHP you using? may not be just Safe Mode. is it the script working well before the safe mode is on? yours, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] SAFE MODE Restriction - mkdir()

2004-11-24 Thread SED
user different from the user of the PHP process? Regards, Summi -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: 25. nóvember 2004 01:13 To: SED Cc: [EMAIL PROTECTED] Subject: Re: [PHP] SAFE MODE Restriction - mkdir() SED wrote: > Then, shouldn't the owne

Re: [PHP] SAFE MODE Restriction - mkdir()

2004-11-24 Thread Marek Kilimajer
rds, Summi -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: 25. nóvember 2004 00:05 To: SED Cc: [EMAIL PROTECTED] Subject: Re: [PHP] SAFE MODE Restriction - mkdir() SED wrote: Hi, I have very wierd situation. The ISP is running in SAFE MODE. I use PHP to create a directory

RE: [PHP] SAFE MODE Restriction - mkdir()

2004-11-24 Thread SED
ype of the function? Regards, Summi -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: 25. nóvember 2004 00:05 To: SED Cc: [EMAIL PROTECTED] Subject: Re: [PHP] SAFE MODE Restriction - mkdir() SED wrote: > Hi, > > I have very wierd situation. The ISP is r

Re: [PHP] SAFE MODE Restriction - mkdir()

2004-11-24 Thread Marek Kilimajer
SED wrote: Hi, I have very wierd situation. The ISP is running in SAFE MODE. I use PHP to create a directory with mkdir("something", 0777), it works great! However, if I try to create a sub-directory (e.g. "something2") in the "something" directory, I get the following: Warning: SAFE MODE Restricti

[PHP] SAFE MODE Restriction - mkdir()

2004-11-24 Thread SED
Hi, I have very wierd situation. The ISP is running in SAFE MODE. I use PHP to create a directory with mkdir("something", 0777), it works great! However, if I try to create a sub-directory (e.g. "something2") in the "something" directory, I get the following: Warning: SAFE MODE Restriction in e