note 88322 deleted from function.include by danbrown
| From: | danbrown@php.net | Date: | Tue, 20 Jan 2009 17:47:39 +0000 |
| Subject: | note 88322 deleted from function.include by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149533@lists.php.net to get a copy of this message | ||
Note Submitter: iim dot vxk at gmail dot com
----
BEST WAY TO INCLUDE / REQUIRE A FILE { WORKS ON NESTED INCLUDES }
before php 5.3.0 ::
include( realpath(dirname(__FILE__)."../../file.php") );
after php 5.3.0 ::
include( realpath(__DIR__."../../file.php") );
pD :: i know, i not discovered this... i only HELP you to find it more easy, oKe!