note 52111 deleted from function.include by didou

From: Date: Mon, 20 Jun 2005 17:00:42 +0000
Subject: note 52111 deleted from function.include by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-90704@lists.php.net to get a copy of this message
Note Submitter: richard at opnetworks dot com ---- $path_parts = parse_url($_SERVER['REQUEST_URI']); if($path_parts['path'] == "/dir/path") { echo "Access Denied"; exit(); } I use this as a good practice. To keep people from directly running a include script

« previous php.notes (#90704) next »