note 72752 deleted from function.htmlspecialchars by philip

From: Date: Wed, 21 Feb 2007 08:41:32 +0000
Subject: note 72752 deleted from function.htmlspecialchars by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-123625@lists.php.net to get a copy of this message
Note Submitter: Khaled-F ---- u can use htmlspecialcahrs for secure HTTP_GET_VARS[] , HTTP_POST_VARS[] and HTTP_COOKIE_VARS[] .... for example : ----------------------------------------- <?php function HtmlSecure() { $_GET = array_map('htmlspecialchars' , $_GET); $_POST = array_map('htmlspecialchars' , $_POST); $_COOKIE = array_map('htmlspecialchars' , $_COOKIE); } HtmlSecure(); //Here Put Your Page Contents ?> -----------------------------------------

« previous php.notes (#123625) next »