note 18413 added to function.preg-match

From: Date: Tue, 22 Jan 2002 01:56:18 +0000
Subject: note 18413 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-25671@lists.php.net to get a copy of this message
Keep out of www.url.com/admin, or www.url.com/submit.php, without first logging in: //////////////////////////// // check authorization /////////////////////////// if (preg_match("/(admin|submit)/i","$PHP_SELF") && !$authenticated_user_id) { header("Location: "www.url.com/login.phtml"); exit(); } -- http://www.php.net/manual/en/function.preg-match.php http://master.php.net/manage/user-notes.php?action=edit+18413 http://master.php.net/manage/user-notes.php?action=delete+18413 http://master.php.net/manage/user-notes.php?action=reject+18413

« previous php.notes (#25671) next »