note 59833 deleted from language.constants.predefined by bobby

From: Date: Fri, 29 Sep 2006 15:13:52 +0000
Subject: note 59833 deleted from language.constants.predefined by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-117833@lists.php.net to get a copy of this message
Note Submitter: stalker at NOSPAM dot ruun dot de ---- To czabu: your function can be much more lightweight when you use this: <?php function amIincluded() { $requestedURL = parse_url($_SERVER['REQUEST_URI']); if(basename($requestedURL['path']) != basename(__FILE__)) return true; return false; } ?>

« previous php.notes (#117833) next »