Bug #4209: Bug in loading of HTTP_POST_VARS

From: Date: Thu, 20 Apr 2000 21:34:03 +0000
Subject: Bug #4209: Bug in loading of HTTP_POST_VARS
Groups: php.dev 
Request: Send a blank email to php-dev+get-18084@lists.php.net to get a copy of this message
From: trever_Adams@bigfoot.com Operating system: RedHat Linux 6.2 with kernel 2.3.99pre6-3 PHP version: 3.0.15 PHP Bug Type: Parser error Bug description: Bug in loading of HTTP_POST_VARS Below is a dump curtousy of tcpdump. It is for a form. Why does HTTP_POST_VARS not include all that was passed in the form? %7E is ~ which used to be -, neither work. It doesn't matter how I parse it, it always gives me just the first few parameters. I am using php-3.0.15-2 as distributed in RedHat 6.2. I have not tried it with php-4RC1 yet. Content-type: application/x-www-form-urlencoded^M Content-length: 1108^M ^M login=duh&pass=barf&action=Save+this+Group&group_mode=2&groups%7Ename%7E0=Brotherly+Love&groups%7Ename%7E1=&groups%7Ename%7E2=Amour+Fraternel&groups%7Ename%7E3=%CA%D6%D7%E3%D6%AE%C7%E9&groups%7Eshort_desc%7E0=+This+piece+captures+a+treasured+moment+between+a+little+boy+and+his+baby+brother.+Are+they+sharing+dreams+of+adventure+together%3F++Approximately+4%22+high.&groups%7Eshort_desc%7E1=&groups%7Eshort_desc%7E2=+Cet+pi%E8ce+capture+un+moment+ch%E9ri+entre+un+petit+un+gar%E7on+et+son+petit+fr%E8re.+Partagent-ils+des+r%EAves+d%27aventure+ensemble%3F+Approximativement+4+pouces+de+haut.&groups%7Eshort_desc%7E3=+%D5%E2%B8%B1%D7%F7%C6%B7%D7%A5%D7%A1%C1%CB%D2%BB%B8%F6%D0%A1%C4%D0%BA%A2%BA%CD%CB%FB%B5%C4%D0%A1%B5%DC%B5%DC%B9%B2%B6%C8%B5%C4%D5%E4%B9%F3%B5%C4%CA%B1%B9%E2%A1%A3%CB%FB%C3%C7%CA%C7%B2%BB%CA%C7%0D%0A%D4%DA%B9%B2%CF%ED%CC%BD%CF%D5%D6%AE%C3%CE%A3%BF+%D4%BC%B8%DF4%22.&groups%7Elong_desc%7E0=&groups%7Elong_desc%7E1=&groups%7Elong_desc%7E2=&groups%7Elong_desc%7E3=&groups%7Edirections%7E0=&groups%7Edirections%7E1=&groups%7Edirections%7E2=&groups%7Edirections%7E3= (use of dump_aray($HTTP_POST_VARS) as found in a book by David Medinets... this is just to have a clean output, but it does show the problem) Key DataType Value login string duh pass string barf action string Save this Group group_mode string 2 groups~name~0 string Brotherly Love Trever Adams

« previous php.dev (#18084) next »