path of your root folder?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

flash_harry
New php-forum User
New php-forum User
Posts: 26
Joined: Thu Jan 16, 2003 6:05 am

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.

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

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

$_SERVER['DOCUMENT_ROOT']


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron