Re: Information not being correctly parsed
| From: | Per Lundberg | Date: | Wed, 19 Feb 2003 16:32:01 +0000 |
| Subject: | Re: Information not being correctly parsed | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18613@lists.php.net to get a copy of this message | ||
On Wed, 2003-02-19 at 04:38, Andrew Ferguson wrote:
> I recently upgraded to PHP 4.3.1 from 4.2. I use the nusphere bundle, and
> they had not yet incorporated the new version yet. Anyways, now my pages are
> being parsed correctly. Basically, I'm trying to post information through
> the url (i.e. randompage.php?male=y&age=43), and then have PHP retrieve it
> from my mySQL database. I've tried just making a script that would echo the
> POSTed information, but it doesn't echo it. I've looked through everything,
> and double checked all my settings. Any ideas?
The default value of register_globals has changed. This means that a
POST variable called "test" will now be in $_POST["test"] and not $test.
You can change this behaviour in php.ini if you like but it is not
recommended; rather, rewrite your code.
--
Best regards,
Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.capio.com