Posted by "Silvio Porcellana [tradeOver]" on 10/04/13 11:36
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?
Navigation:
[Reply to this message]
|