Passing variables without their appearing in the URL

Sometimes it would not be a good idea to pass variable names and values in the URL where they are publicly visible – an obvious example of where we would avoid this is the case of usernames and passwords.

In this lesson we look at the PHP superglobal $_POST, which allows us to pass variables without their appearing in the URL.