php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #24272 $_POST_GET; merge the two and superglobal it
Submitted: 2003-06-20 15:04 UTC Modified: 2003-06-23 19:19 UTC
From: jeremyirons at genevus dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.3.2 OS: Solaris 8 & 9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jeremyirons at genevus dot com
New email:
PHP Version: OS:

 

 [2003-06-20 15:04 UTC] jeremyirons at genevus dot com
Description:
------------
I often merge $_POST and $_GET together especially when coding UI that have Next/Back interfaces; most of the time my variables get passed via POST, but in some instances it may be GET.  Still I want to access my variables easily from the same place without registering globals

So what I did was merge $_POST and $_GET into $_POST_GET, but then I have to global it in my functions.

So it would be nice to have a merge of $_POST and $_GET as a superglobal

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-20 15:05 UTC] derick@php.net
Try $_REQUEST .. (merges POST, GET and COOKIE).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 22:01:27 2024 UTC