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
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: 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 Dec 30 14:01:28 2024 UTC