Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

path of your root folder?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

path of your root folder?

Postby flash_harry » Fri Feb 21, 2003 4:12 am

I know it should be easy and that but I just can't find it. :oops:

How do you get the path or url of your root webfolder?
is it a Global variable or in the enviornment or wot?

Thanks loads as I know someone will have the answer.
flash_harry
New php-forum User
New php-forum User
 
Posts: 26
Joined: Thu Jan 16, 2003 6:05 am

Postby Redcircle » Fri Feb 21, 2003 11:49 am

$_SERVER['DOCUMENT_ROOT']
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA


Return to PHP coding => General

Who is online

Users browsing this forum: Google Feedfetcher and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.