POST Error under IE+WAMP?!
Posted by: ZeZe (---.catv.broadband.hu)
Date: May 31, 2007 06:20PM

Hi!

My page has a form with POST method.

When submitted with IE6, the PHP interpreter under WAMP 1.6.4a gets absoluty no data (empty $_POST array).
With WAMP 1.6.6 it works sometimes.

There is no such problem:
- when Fiddler is active under IE
- with Firefox
- with IIS as webserver
- or when choosing GET method

It seems to be a header encoding/deconding problem. I suppose the IE is guilty, but WAMP still should handle this.

I could not test the latest WAMP version because the wampmanager.exe is reported by NOD32 as infected with "probably unknown NewHeur_PE virus"

Please help!



Post Edited (05-31-07 19:59)

Options: ReplyQuote
Re: POST Error under IE+WAMP?!
Posted by: ZeZe (---.barossg-misk.sulinet.hu)
Date: June 01, 2007 01:02PM

Nobody? Really nobody?

Options: ReplyQuote
Re: POST Error under IE+WAMP?!
Posted by: CyberSpatium (71.237.217.---)
Date: June 02, 2007 12:07AM

post your code pls.


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Cellular Phone Deals - The Best on the Net! - FREE PHONES! Take your pick from our featured cellular phone deals by Cingular, Verizon, T-Mobile, Sprint PCS, Nextel, and more! Most of our cellular phone offers include a FREE cellular phone with FREE shipping!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote
Re: POST Error under IE+WAMP?!
Posted by: ZeZe (---.catv.broadband.hu)
Date: June 03, 2007 07:50AM

The simplest code:

<html>
<body>
<form action="" method="post">
<input type="text" name="field" value="something">
<pre>
Posted:
<?php print_r($_POST); ?>
</pre>
<input type="submit">
</form>
</body>
</html>

It works under Opera, Firefox, IE 7.0 (5730.11), but not under IE 6.0 (3790.1830) (more precisely: only once after a minute or so of inactivity, then again nothing).

{Problem no. 2 with NOD32 still persists!}

Options: ReplyQuote
Re: POST Error under IE+WAMP?!
Posted by: CyberSpatium (71.237.217.---)
Date: June 03, 2007 06:42PM

your forum needs a submit button

try changing to
<form action="<?php $_SERVER[''PHP_SELF"] ?> method="post">


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Cellular Phone Deals - The Best on the Net! - FREE PHONES! Take your pick from our featured cellular phone deals by Cingular, Verizon, T-Mobile, Sprint PCS, Nextel, and more! Most of our cellular phone offers include a FREE cellular phone with FREE shipping!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote
Re: POST Error under IE+WAMP?!
Posted by: ZeZe (---.catv.broadband.hu)
Date: June 03, 2007 08:27PM

Those things does not help. As I sed, it works with other browsers and WAMP, with some other web servers and IE6, and with 'get' action. The original code contained also PHP_SELF reference in the action property.

The form is actually submitted (it has a submit button if you look closer), but the data sent by the browser after the header is not decoded by WAMP.

The only combination generating this bug is IE6+WAMP 1.6.x!

It may be a simle CR/LF issue, or something more complicated, I dont know. This is why I have opened this topic.

Options: ReplyQuote
Re: POST Error under IE+WAMP?!
Posted by: dval (---.chrcitadelle.be)
Date: June 04, 2007 06:06PM





Post Edited (06-04-07 18:07)

Dval
(depuis la Belgique, enfin encore pour l'instant... pfff. quel pays :-)

Options: ReplyQuote


Sorry, only registered users may post in this forum.