[thelist] $HTTP_POST_VARS returning incorrect data

Santilal Parbhu santilal at scorpioneng.co.nz
Sat Dec 1 00:01:14 CST 2007


I think I might be on to something.  The data that is returned by $HTTP_POST
VARS is read from a form, which is populated with data from MySQL.  In other
words the Blue Lamas,A,34 is read from MySQL, along with other options that
the user picks from.  When the user picks one of these and hits submit the
chosen data is sent back.  So the problem could lie in the way MySQL fills
in the space.

I have used the exact code in other places, but in all of these (I think)
the data is entered by the user.  So does anyone know what MySQL puts in the
space and how I can get it recognized as a space?



-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of kasimir-k
Sent: Friday, 30 November 2007 10:49 p.m.
To: thelist at lists.evolt.org
Subject: Re: [thelist] $HTTP_POST_VARS returning incorrect data

Santilal Parbhu scribeva in 30/11/2007 8:37:
> with PHP4 :

> The $HTTP_POST_VARS seems to truncate the data when it sees the space.
> However, I am using the $HTTP_POST_VARS with multi-word data in other
> and it works fine.

Could be a bug found in very early versions of PHP4:

Time to upgrade?


* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 

More information about the thelist mailing list