RE: [PHP] safe mode problem
| From: | gurvinder singh | Date: | Mon, 03 Feb 2003 20:05:53 +0000 |
| Subject: | RE: [PHP] safe mode problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134174@lists.php.net to get a copy of this message | ||
and how can i be root from a php script?
i want chown from the script itself which created the page.
-----Original Message-----
From: Marek Kilimajer [mailto:kilimajer@webglobe.sk]
Sent: Monday, February 03, 2003 12:39 PM
To: Gurvinder Singh
Cc: php-general@lists.php.net
Subject: Re: [PHP] safe mode problem
what you did should work (you must be root to change owner). You can use
-R switch to change owner recursively
Gurvinder Singh wrote:
>hi
>i create a php page dynamically in my php script. this page include one of
>my other php file. when i run the newly created script i get this error
>
>Warning: SAFE MODE Restriction in effect. The script whose uid is 48 is not
>allowed to access file.php owned by uid 831
>
>Is there a way to handle this.
>
>i even tried chown to change the newly created file's owner to be 831 but
it
>doesnt seem to work
>
>Thanks & Regards
>Gurvinder
>
>
>
>
>