The probem is that when I copy the file, the owner is set to
something that PHP lately can't change !
This happened to me in 2 tottaly different servers.
I want to copy a file (as a template) and make it writable using PHP.
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
Any file copied with PHP will stay writable from PHP, as the owner is set to whatever
PHP is running under.
Explain how the file got there and how you'd like to change it (through PHP, FTP etc.)
bvr.
>Hi Edgard,
>
>> I'm trying to copy a file and chmod it to make it writable, but after I cop
Hi Edgard,
> I'm trying to copy a file and chmod it to make it writable, but after I copy
> it using PHP I can't even chmod in ftp !
since you upload it using PHP, most likely the owner of the file is
nobody.nobody, that's why you can't chmod thru ftp. (unless you login
to ftp as nobody ;))
> I
unable to copy and chmod
I'm trying to copy a file and chmod it to make it writable, but after I copy
it using PHP I can't even chmod in ftp !
I can't change the file owner too.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
4 matches
Mail list logo