Re: extract($_POST)

From: Date: Wed, 23 Oct 2002 09:49:02 +0000
Subject: Re: extract($_POST)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-121049@lists.php.net to get a copy of this message
On Wednesday 23 October 2002 16:48, Marek Kilimajer wrote: > If you do extract($_POST) (or import_request_variables('GPC')), you do > exactly same thing as php would do if you have > register_global=on But if you're only doing extract($_POST) and not doing extract($_GET) etc as well, then you know all your variables have come from $_POST. Which is not the case if you have "register_globals = on" or use import_request_variables('GPC'), because you don't know where the variables came from. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* True to our past we work with an inherited, observed, and accepted vision of personal futility, and of the beauty of the world. -- David Mamet */

« previous php.general (#121049) next »