Re: [Train hacking] HTTP_GET_Validator
| From: | Yasuo Ohgaki | Date: | Sun, 17 Mar 2002 03:25:05 +0000 |
| Subject: | Re: [Train hacking] HTTP_GET_Validator | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4994@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wrote:
'lo there, I'm just sitting on a train from CeBIT back home and got bored. While beeing bored, I remembered an idea of Thies's he explained to me in Brussles. He actually started implementing it there, but never heard of him about it since. Well, I just hacked some lines of code and came up with a very basic solution for the problem of validating HTTP GET parameters.You may be interested in my code. http://www.zend.com/codex.php?id=626&single=1 It's handy for ensuring GET/POST/COOKIE parameters are not modified with much less overheads. Easy to modify validate part of user input also. -- Yasuo Ohgaki