faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 7 people (14%) answered Yes
Recently 1 of 7 people (14%) answered Yes

Entry

I want to define "$DROOT = $_SERVER['DOCUMENT_ROOT']" once only for all "include($DROOT.'/')". How?

Feb 28th, 2007 02:50
Articles Way, Jakub Vrana, James Thompson,


Maybe you are looking for function set_include_path.
===
code400.com/forum/archive/index.php/t-1769.html
i hope that helps.
http://americanahost.com
http://www.qwesz.com