note 25967 deleted from function.require-once by sniper
| From: | sniper@php.net | Date: | Tue, 04 Nov 2003 00:45:43 +0000 |
| Subject: | note 25967 deleted from function.require-once by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59826@lists.php.net to get a copy of this message | ||
Note Submitter: PHPMatrix
----
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'); ?>
.