root folder

i need to know how can i move to root folder…

as an example…

we say 2 folders Fol1 & Fol2… and there is a php_script1 in Fol2.

if i want to move to Fol1 from php_script1

i can do something like this…

…/Fol1…

lets say both Fol1 & Fol2 is inside the folede Fol3…

how could i go to Fol3

rather than using ‘…/’

[php]$_SERVER[‘DOCUMENT_ROOT’] . ‘/Fol3’[/php]

thanks for the immediate reply…

if i wants to include a page…

hw should i do?

[php]include $_SERVER[‘DOCUMENT_ROOT’] . ‘/Fol3/page.php’;[/php]

Thanks u verymuch

Sponsor our Newsletter | Privacy Policy | Terms of Service