[PHP-WIN] Newbie Q

2003-07-15 Thread Gabriel_k
How can I find out (as a string) in what dir my php script is run? /Gabbah -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Newbie Q - PHP on Apache file not found Q

2001-12-21 Thread James Mansfield
I am sure this is a simple one but its doing my head in: My php page works fine in the root directory of my Apache server but when I put it in a subdirectory of the server I get a 404 file not found error. I mean it points to localhost/newdirectory/page.php but it does nto work?? Do I have to in