>> Be warned that if PHP can delete them, so can anybody else on the shared
>> server who wants to write a PHP script to delete them, unless you've
>> configured PHP specially to run as a specific user, which is unlikely for
>> most ISP setups.
>
>How can PHP be configured to run as a specific use
> Be warned that if PHP can delete them, so can anybody else on the shared
> server who wants to write a PHP script to delete them, unless you've
> configured PHP specially to run as a specific user, which is unlikely for
> most ISP setups.
How can PHP be configured to run as a specific user? I'm
>I use PHP to upload files to the web server via web browser. However, I can
>not delete the files later cause the Redhat linux server running on safe
>mode. Do I have to changed the owner of the file during the file uploading
>time?
>
>Please let me know how to solve this problems.
The files ar
You can try to 'chmod' it first :
@chmod ($myfile, 0777);
and then do an exec or passthru..
exec("rm -f $myfile");
Note the '@', if the chmod fails, he doesn't show it...
Good luck
Dyon
"Anan" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I
4 matches
Mail list logo