Re: [PHP] restricting filesystem access

2008-03-31 Thread Hamar Gábor
Hi, Thank you for the answer. I am running my site on a shared server, but I can overwrite the options in the php.ini file. Unfortunately php runs as my user, so changing the permissions to 644 doesn't work, php is still able to write anything. Gabor 2008. 03. 31, hétfő keltezéssel 16.51-kor p

[PHP] restricting filesystem access

2008-03-31 Thread Hamar Gábor
Hi, I am a new php user and I have a question, for which I couldn't find any answer. I'd like to restrict php code to access the filesystem. I'd like to have only one directory where the php code can write, create or read files, and an other directory hierarchy where the php codes present. I nee