note 8092 added to require
| From: | seamusharris at hotmail dot com | Date: | Sat, 26 Aug 2000 12:34:04 +0000 |
| Subject: | note 8092 added to require | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3410@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.
http://www.php.net/manual/function.require.php