note 8092 modified in function.require by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 12:02:32 +0000 |
| Subject: | note 8092 modified in function.require by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25130@lists.php.net to get a copy of this message | ||
I use
<? require ("$DOCUMENT_ROOT/relative_path/file.php") ?> and it works well.
It's much better to use this than to hand code the entire UNIX path.
--was--
I use
<? require ("$DOCUMENT_ROOT/relative_path/file.php") ?> and it works well.
It's much better to use this than to hand code the entire UNIX path.
http://www.php.net/manual/en/function.require.php