furanku
08-07-2003, 07:59 PM
Hi,
with PHP (at Apache/1.3.27 (Unix)) i need my dir on 777 to write files. But this means everybody could. Thats what i dont want.
As far as i know its because PHP is unknown by the server - so it needs 777.
-How can i write files without have my dir in 777 mode?
-Or can change the dir to 777, write the file, and change back to 775?
-Or how can i give PHP the permissions of the owner?
Thanks
Ciao Fu-Ran-Ku
with PHP (at Apache/1.3.27 (Unix)) i need my dir on 777 to write files. But this means everybody could. Thats what i dont want.
As far as i know its because PHP is unknown by the server - so it needs 777.
-How can i write files without have my dir in 777 mode?
-Or can change the dir to 777, write the file, and change back to 775?
-Or how can i give PHP the permissions of the owner?
Thanks
Ciao Fu-Ran-Ku