Re: How do I use $HTTP_*_VARS[]

From: Date: Mon, 30 Jun 2003 10:16:06 +0000
Subject: Re: How do I use $HTTP_*_VARS[]
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153387@lists.php.net to get a copy of this message
Hi, I presume in the previous version you used register_globals=On the trick is that you will have to chenge most of the scripts now. Now that you have moved to 4.2.3 version, you should use the $_SERVER, $_REQUEST, $_POST, etc... variables instead of $HTTP_*_VARS Btw. It's agood idea to leave register_globals off. Cheers, Catalin "Ivan Carey" <icarey@bigpond.com> wrote in message news:003601c33eea$32d84710$2c01a8c0@IVANNEW... > Hello, > I would like to be able to use $HTTP_*_VARS[]. > > When I was using PHP 4.0.4PL1 I had no provlems sending form variables or > any other type of variables such as url variables from one page to another. > Now with PHP 4.2.3 I am unable to send variables from one page to another > unless I turn on register_globals. > > How do I use $HTTP_*_VARS[] without a lot of recoding of all pages or do I > simply leave register_globals on. > Or is ther another way? > > Thankyou, > Ivan >

« previous php.general (#153387) next »