hi everyone!
Is there a way of setting the present dir?
lets say including.php is in the dir: /root/inc/including.php
but i want the parser to believe that we're in /root/inc/second/
so that if we write include("test.php"); in the including.php file, the parser makes that include("/root/inc/second/test.php");
i know this is possible, but i cannot remember the function, and yes, i've already searched the php manual, but dunno what i should look for..
thanks.