note 25967 added to function.require-once
| From: | PHPMatrix at rack1 dot php dot net | Date: | Sun, 13 Oct 2002 07:00:48 +0000 |
| Subject: | note 25967 added to function.require-once | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38005@lists.php.net to get a copy of this message | ||
In regards to my post above.
I have seen even a easier way of doing the absolute path (from the document root) work around.
<?php require_once($_SERVER['DOCUMENT_ROOT'] . '/subdir/file.php'); ?>
.
--
http://www.php.net/manual/en/function.require-once.php
http://master.php.net/manage/user-notes.php?action=edit+25967
http://master.php.net/manage/user-notes.php?action=delete+25967
http://master.php.net/manage/user-notes.php?action=reject+25967