php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4209 Bug in loading of HTTP_POST_VARS
Submitted: 2000-04-20 17:34 UTC Modified: 2005-03-31 16:13 UTC
From: trever_Adams at bigfoot dot com Assigned:
Status: Wont fix Package: Parser error
PHP Version: 3.0.15 OS: RedHat Linux 6.2 with kernel 2.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
15 + 30 = ?
Subscribe to this entry?

 
 [2000-04-20 17:34 UTC] trever_Adams at bigfoot dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC