note 88322 added to function.include

From: Date: Tue, 20 Jan 2009 08:49:11 +0000
Subject: note 88322 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-149511@lists.php.net to get a copy of this message
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! ---- Server IP: 80.241.173.254 Probable Submitter: 189.160.211.93 ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- https://master.php.net/note/edit/88322 Del: integrated -- https://master.php.net/note/delete/88322/integrated Del: useless -- https://master.php.net/note/delete/88322/useless Del: bad code -- https://master.php.net/note/delete/88322/bad+code Del: spam -- https://master.php.net/note/delete/88322/spam Del: non-english -- https://master.php.net/note/delete/88322/non-english Del: in docs -- https://master.php.net/note/delete/88322/in+docs Del: other reasons-- https://master.php.net/note/delete/88322 Reject -- https://master.php.net/note/reject/88322 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149511) next »