Skip to content

[docs] Lack of information about $_GET, $_POST, $_REQUEST, $_COOKIE, and $_SESSION variables #554

Open
@jboulen

Description

@jboulen

What is the URL of the page?

https://moodledev.io/general/development/process/peer-review#syntax

What is the issue with this page?

Documentation indicates:

$_GET, $_POST, $_REQUEST, $_COOKIE, and $_SESSION are never used.

But nowhere documentation explains what to do instead.
For $_GET, $_POST and $_REQUEST, we can probably refer to this page.

Also, maybe some superglobals are missing in this list (eg: $_FILES and $_ENV).

Are you able to provide a patch for this?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationhelp wantedExtra attention is neededneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions