Is there a variable in PHP which will show the
directory of the document root? I have done a few searches and before I go
looking harder I thought I'd ask. My problem is that I am using both windows,
IIS and linux, Apache. I tried a few things like $document_root which didn't
seem to work but I didn't try very hard :)
Below is an example of what I want to
do:
include "(magic variable or function)/$file; JJ Harrison P.S. Can anyone suggest a good text editor for PHP and html?
|
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php