Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Value from one page to then form this page to next

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45562
    Junni
    Member

    can i get the form values just as

    Name

    this to first page and then from 2nd page to 3rd??

    #138887
    __
    Participant

    are you trying to get values submitted from a form to be automatically available in your script, as in (for example) `$name`, instead of having to do `$_POST`?

    If so, be advised that this is a **very bad idea**. `register_globals` used to do this (it has since been **deprecated** and **removed**). Go read the PHP manual page on [using register_globals](http://php.net/manual/en/security.globals.php).

    You should not try to duplicate this functionality. It is a severe security risk. Instead, always take the time to deliberately **validate** _(check that the value IS what it is SUPPOSED TO BE)_ and **sanitize** _(make the value SAFE TO USE, e.g., to put in the database, to print to the browser, etc.)_ **all user input**.

    remember,

    ## NEVER TRUST USER INPUT.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.