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:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 12:39 PM
To: Gurvinder Singh
Cc: [EMAIL PROTECTED]
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
>
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to