Thread: note 59833 deleted from language.constants.predefined by bobby
note 59833 deleted from
language.constants.predefined by bobby
2006-09-29 15:13:52
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;
}
?>
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php