Not sure if this is a Apache question or a php question.
I have Win XP Pro, with Apache and PHP 5
I have my doc root folder standard,
it is C:/Apache/htdocs
The problem is, I don't want scripts I write in those folders to access outside that folder.
for instance, I can use ../../ and get to c:/ (this of course in php scripting)
ex. fopen("../../boot.ini","r") this would be opening c:/boot.ini
How can I stop this? how can I make the user (well the person who has access to writing scripts and html pages) see the document root as /htdocs or even just / ?
or just make them not have permissions below C:/Apache/htdocs