|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-12-10 18:55 UTC] tony2001@php.net
[2006-12-11 14:50 UTC] mpaige at ryanidirect dot com
[2006-12-11 14:56 UTC] iliaa@php.net
[2006-12-11 14:59 UTC] mpaige at ryanidirect dot com
[2006-12-11 15:06 UTC] mpaige at ryanidirect dot com
[2006-12-11 15:36 UTC] mpaige at ryanidirect dot com
[2006-12-11 15:46 UTC] tony2001@php.net
[2006-12-11 15:55 UTC] mpaige at ryanidirect dot com
[2006-12-11 16:04 UTC] tony2001@php.net
[2006-12-11 16:35 UTC] mpaige at ryanidirect dot com
[2007-01-20 23:03 UTC] iliaa@php.net
[2007-01-24 13:48 UTC] php at michasch dot de
[2007-01-28 01:00 UTC] php-bugs at lists dot php dot net
[2007-02-06 22:52 UTC] dan dot marsden at gmail dot com
[2007-03-11 14:24 UTC] webmaster at whatsthescuttlebutt dot com
[2007-04-07 19:48 UTC] wolfgang dot nagele at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
Description: ------------ $_POST variable unavailable while $_GET is. Reproduce code: --------------- // FAIL: This returns -1 if(isset($_POST['senderName'])){ $msg = 1; } else { $msg = -1; } echo $msg; <form action="sendCard.php" method="POST"> <input name="senderName" value="" type="text" size="60" maxlength="60" /><br /> <input name="send" type="submit" /><br /> </form> If I change the from to GET and look for a GET // SUCCESS: This returns 1 if(isset($_GET['senderName'])){ $msg = 1; } else { $msg = -1; } echo $msg; <form action="sendCard.php" method="GET"> <input name="senderName" value="" type="text" size="60" maxlength="60" /><br /> <input name="send" type="submit" /><br /> </form> Expected result: ---------------- Both should return 1. Actual result: -------------- -1 on $_POST. INI is relatively untouched past standard dir paths and cgi redirect disable, no 3rd party extensions. looks like "#37276 problems witch $_POST array" but not fixed in windows...