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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 22:01:28 2024 UTC