note 63292 deleted from function.get-included-files by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 00:04:08 +0000 |
| Subject: | note 63292 deleted from function.get-included-files by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141820@lists.php.net to get a copy of this message | ||
Note Submitter: quis -AT- maffiaworld -DOT- n e t
----
If you wan`t to compare __FILE__ and $_SERVER['SCRIPT_NAME']
you could use realpath()
it strips out symlinks and things like that
realpath(__FILE__) == realpath($_SERVER['SCRIPT_NAME'])