note 77258 added to function.include
| From: | rayro at gmx dot de | Date: | Tue, 21 Aug 2007 21:48:49 +0000 |
| Subject: | note 77258 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129683@lists.php.net to get a copy of this message | ||
well, im using "realpath" on each include i make.
http://www.php.net/realpath
this function rewrites relative paths and symbolic links:
<?php
include(realpath('../../../test.php'));
?>
----
Server IP: 217.13.201.10
Probable Submitter: 84.135.85.251
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/77258
Del: integrated -- https://master.php.net/note/delete/77258/integrated
Del: useless -- https://master.php.net/note/delete/77258/useless
Del: bad code -- https://master.php.net/note/delete/77258/bad+code
Del: spam -- https://master.php.net/note/delete/77258/spam
Del: non-english -- https://master.php.net/note/delete/77258/non-english
Del: in docs -- https://master.php.net/note/delete/77258/in+docs
Del: other reasons-- https://master.php.net/note/delete/77258
Reject -- https://master.php.net/note/reject/77258
Search -- https://master.php.net/manage/user-notes.php