php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37385 _REQUEST['i'] is always 10
Submitted: 2006-05-09 18:44 UTC Modified: 2006-05-09 19:04 UTC
From: waitman at waitman dot net Assigned:
Status: Not a bug Package: Variables related
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: waitman at waitman dot net
New email:
PHP Version: OS:

 

 [2006-05-09 18:44 UTC] waitman at waitman dot net
Description:
------------
$_REQUEST['i'] is always equal to 10

tested on 5.1.2 and 5.1.4

noticed this over SSL/https connection.

Reproduce code:
---------------
<?php

echo $_REQUEST['i'].'<br />
'.$_GET['i'].'<br />
';

?>

Expected result:
----------------
http://example.com/test.php?i=43

10
43

Actual result:
--------------
http://example.com/test.php?i=43

43
43

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-09 18:45 UTC] waitman at waitman dot net
OOPS actual and expected should be reversed. sorry about that.
Waitman
 [2006-05-09 19:04 UTC] waitman at waitman dot net
it's not a bug, it's a boo-boo on my part. sorry about the trouble.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 01:01:28 2024 UTC