php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16701 error in tranmitting post variables
Submitted: 2002-04-19 12:57 UTC Modified: 2002-07-25 01:00 UTC
Votes:4
Avg. Score:4.0 ± 1.7
Reproduced:3 of 4 (75.0%)
Same Version:1 (33.3%)
Same OS:3 (100.0%)
From: morten at sportsindex dot net Assigned:
Status: No Feedback Package: Variables related
PHP Version: 4.1.2 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: morten at sportsindex dot net
New email:
PHP Version: OS:

 

 [2002-04-19 12:57 UTC] morten at sportsindex dot net
Having a form with just a single <input type="text"> and you submit the data, it misses the last character of the variable, like:

if you submitted the value: foo, then you only get: fo on you on your action url. I've degraded to php 4.0.6 which solved the problem, so it must be something with php 4.1.2.

It does not occur when using a get instead of a post, but this is not always a viable solution. If I add one more input boxes (text) to the form, then it works just fine...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-19 13:01 UTC] sander@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

 [2002-04-20 04:37 UTC] tal@php.net
With which browser did you test it? It might be a bug in IE. Could you also provide the code (or the relevant part of it)?

-Tal
 [2002-06-07 09:16 UTC] bugs dot php dot net at nlweb dot net
I have exactly the same problem.
PHP 4.2.1 on Windows.
I have solved the problems in my applications by adding a bogus hidden field as LAST field in the form, I just ignore this bogus field.
The application that suffered the most from this was gally (gallery.sourceforge.net). But all applications seemed to have this problom
 [2002-06-08 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-06-21 08:41 UTC] bugs dot php dot net at nlweb dot net
Browsers: Mozilla 1.0,IE 6.0
Platform: Winnt 4.0
PHP: 4.1.2

Problem is that the last character of the last input text field is truncated. Problem still persists, the only way to fix it seems to be to add a field as the LAST field in the form and ignore that field in the processing php.
 [2002-06-24 03:36 UTC] sniper@php.net
Try this snapshot:
http://snaps.php.net/win32/php4-win32-latest.zip

And if it doesn't work either, provide a short example
script which does not work for you.

 [2002-07-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC