The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

Value from one page to then form this page to next

  • # June 16, 2013 at 4:33 am

    can i get the form values just as


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

    # June 16, 2013 at 4:55 am

    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](

    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**.



Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed