[PHP] files created with mkdir and open(file,"w+) are owned by nobody

2001-05-07 Thread Ryan Hilton
I'm creating directories and files inside of a php program and they are owned by nobody. How can I assign an owner to them and who should the owner be? Where is documentation for these types of questions? Here is the code snipet: create a directory - I would also like to create it with 775 pr

RE: [PHP] .htpasswd encryption

2001-04-12 Thread Ryan Hilton
Your can use the php crypt() function to encrypt the passwords in the .htpasswd file $newPwd = crypt( trim( $newPwd) ); // encrypt the new password Brandon Orther wrote: > Hello, > > I am trying to make a script that creates .htpasswd files. Does anyone > know what encryption is used? > > Tha