as I've seen PHP running as Apache module cannot create or update files...

it gives me 'permission denied'...

so I've tried these solutions:

* fopen("ftp://user:[EMAIL PROTECTED]/directory/newfile.ext","w";);
this actually works... but only for "w"... if I wanna update this file, 
like "a", it can't be done as it says the file already exists... so I'd 
have to read it entirely, add the new data and write it back... (not so 
good)....

* chmod 777 in the dir I am... so 'nobody' (apache user) can write to it... 
but what happens is that, the file isn't mine... it belongs to nobody... so 
I have no rights to it in FTP or telnet...

is there a better solution then either of these two???
____________________________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to