#37369 [Opn->Bgs]: HTML Form Submit Problem
| From: | tony2001@php.net | Date: | Wed, 10 May 2006 10:15:13 +0000 |
| Subject: | #37369 [Opn->Bgs]: HTML Form Submit Problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96896@lists.php.net to get a copy of this message | ||
ID: 37369
Updated by: tony2001@php.net
Reported By: alexm at emarket2 dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Win 2003
PHP Version: 5.1.4
New Comment:
We are aware of PHP's problems with stability under IIS and are working
to rectify the problem. Unfortunatly your bug report does not contain
any
extra useful information and we already have enough bug reports open
about
this issue. If you can provide more detailed information such as a
reproducable crash or a backtrace please do so and reopen this bug.
Otherwise please keep trying new releases as we are working to resolve
the problems on this platform
Thanks for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-05-08 17:16:52] alexm at emarket2 dot com
Description:
------------
We are submitting form from HTML email message to PHP page
and printing $_POST array.
We are getting blank $_POST array in 50% of cases on PHP 5.0.5
installation and about 10-15% ratio for PHP 5.1.4.
The problem is happening randomly, sometimes on first submit.
The problem only happening on WIN 2003 Server(SP1)and IIS6 platform. We
have tried the same PHP installation on WIN XP Pro (IIS5) and it works
reliably. We are running PHP as ISAPI module.
Also, if form is submitted from Web Browser, the problem
is not happening. We can see form data in HTTP Request submitted from
email message, but it is not appear on PHP page.
Reproduce code:
---------------
HTML Form:
===========================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<form action="https://g2invitrogen.emarket2.com/reg/landpage.php"
method="post" name="form11" id="form11">
<table width="370" border="0" cellspacing="0"
cellpadding="3"
class="copybold">
<tr>
<td colspan="2"><span class="questblack">Who are
</span><span
class="questred">You?</span>
<input name="submitaction" type="hidden" id="submitaction"
value="Insert">
<input name="IDALIAS" type="hidden" id="IDALIAS"
value="<IDALIAS>"></td>
</tr>
<tr>
<td width="120"> First Name:</td>
<td><input name="FIRSTNAME" type="text"
class="formpick"
id="FIRSTNAME" tabindex="1" value="Alex"></td>
</tr>
<tr>
<td width="120"> Last Name:</td>
<td><input name="LASTNAME" type="text" class="formpick"
id="LASTNAME" tabindex="2" value="Melnychuck"></td>
</tr>
<tr>
<td> Email:</td>
<td><input name="EMAIL" type="text" class="formpick"
id="EMAIL"
tabindex="3" value="alexm@emarket2.com"></td>
</tr>
<tr>
<td width="120"> Job Function:</td>
<td><select name="JOBCODE" class="formpick"
id="JOBCODE"
tabindex="4">
<option value=" "></option>
<option >Core Facility Manager/Director</option>
<option >Core Facility Technician</option>
<option >Department Head/Director/VP</option>
<option >Environ.Health/Safety Officer</option>
<option >Graduate/Post-Graduate Student</option>
<option >Lab Director/Manager</option>
<option >Principal Investigator</option>
<option >Professor/Teacher/Instructor</option>
<option >Purchaser/Buyer/Procurement</option>
<option >Research Scient./Post-Doctoral</option>
<option >Research/Technical Assistant</option>
<option >Sales & Marketing</option>
<option >Supply Ctr.Host/Stores Manager</option>
<option selected>Other</option>
</select></td>
</tr>
<tr>
<td colspan="2"><img
src="https://static.emarket2.com/invitrogen/iprofile/images/smallthinredbar.jpg"
width="360" height="9" border="0"></td>
</tr>
<tr>
<td colspan="2"><span class="questblack">What are
</span><span
class="questred">You</span><span class="questblack">
researching?</span></td>
</tr>
<tr>
<td colspan="2"><textarea name="RESEARCHING" rows="2"
class="formarea" id="RESEARCHING"
tabindex="5">Everything</textarea></td>
</tr>
<tr>
<td colspan="2"><img
src="https://static.emarket2.com/invitrogen/iprofile/images/smallthinredbar.jpg"
width="360" height="9" border="0"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr align="center">
<td colspan="2"><input type="submit" name="Submit"
value="Submit"></td>
</tr>
</table>
</form>
</body>
</html>
===========================================================
PHP Page:
===========================================================
<? print_r($_POST); ?>
===========================================================
Expected result:
----------------
Array ( [submitaction] => Insert [IDALIAS] => TEST [FIRSTNAME] => Alex
[LASTNAME] => Melnychuck [EMAIL] => alexm@emarket2.com [JOBCODE] =>
Other [RESEARCHING] => Everything [Submit] => Submit )
Actual result:
--------------
Array()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37369&edit=1