Re: fopen/fwrite and owner/group settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mathijs wrote:
> Hello there,
> 
> I Have a problem with some file writeing.
> 
> I Use fopen to create a new file, but that file gets the owner and group
> the same as the apache owner and group.
> 
> How can i change it so that the file gets the same owner/group as the
> files i upload with FTP?
> 
> Thx in advanced
> 

You can use FTP functions to create the file (for example 'ftp_put')
http://php.net/ftp

HTH, cheers
Silvio

-- 
tradeOver | http://www.tradeover.net
...ready to become the King of the World?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux