Safe way to get all variables

From: Date: Fri, 15 Sep 2000 18:06:58 +0000
Subject: Safe way to get all variables
Groups: php.general 
Request: Send a blank email to php-general+get-16948@lists.php.net to get a copy of this message
Hi everyone, I know this probably was already asked before, but I looked on the archives for 30 minutes and didn't find a thing. The question is, how can I safely get all variables passed by a form or by a "get" link ? That is, if I have a link http://www.foo.com/index.php?action=1&boo=2, I can get these two variables dynamically. I know I can use $HTTP_GET_VARS or $HTT_POST_VARS, but what if the "register_globals" directive on php.ini is turned off ? How can I do the same thing without these special arrays ? Joao -- Joao Prado Maia Web Developer Kefta, Inc. T: (415) 391-6881 ext 8008 F: (415) 391-7079 Marketers: Check out http://www.kefta.com for your next risk free acquisition campaign! Sign up for a Keftamail account today: the free email that pays! http://www.keftamail.com/www/reg.php

« previous php.general (#16948) next »