Topic: "creating files - defining owner and group ???" (page 1 of 1)

1
Author Post
sniperkid
groupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
ok basically when i make a php prog to create a file (txt) it creates it but when i view it, the group and owner is 99, and when i click create on the file manager it creates it as owner 32241 and group is scss. (im using www.net2ftp.com btw) any ideas on how to make the file, that is created, with owner 32241 and group scss ??????
private message Website
rayden5
groupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
hi Sniperkid,

in PHP u can use chown() and chgrp() to modify these settings, but the successd epends in the file rights of the PHP-Proccess/Web-Server proccess..not sure which one :)

But it should work since you create the file and the php proccess is the owner of the file.

Ray
Edited by rayden5 on 22.02.2005 15:59:01
private message

Topic: "creating files - defining owner and group ???" (page 1 of 1)

1