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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo