php v4.1.0 and new input security: easy backwards compat fix
| From: | Tim Bolin | Date: | Mon, 17 Dec 2001 22:06:13 +0000 |
| Subject: | php v4.1.0 and new input security: easy backwards compat fix | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-7893@lists.php.net to get a copy of this message | ||
rather than people converting every variable that was set by the old get or post methods, they can just add this code fragment to the top of their files or to a header include that runs before anything else...
<?
extract($_REQUEST);?> this should make it possible to use the new more secure register_globals=off without having to make extensive edits to the software... just a little tip that might make some people's life easier...