You are here: Re: [PHP] fopen/fwrite and owner/group settings « PHP « IT news, forums, messages
Re: [PHP] fopen/fwrite and owner/group settings

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация