How do YOU initialize the form variables?



Hello,
If I have an HTML form with input, example:

username
lastname
mobile
... and so on ...

Example simple initialization:
// POST
$username = $_POST['username'];
$lastname = $_POST['lastname'];
$mobile = $_POST['mobile'];

What is the most popular method for making PHP initialize the many variables on that form? I'm looking to get an understanding of 95% of the possible ways developers are initializing their php variables from a form post. How do YOU initialize the form variables?

If you prefer to post your reply direct to info @ phpyellow.com instead of this list, or both, I am happy to receive your comment.

Sincerely,
Rob
http://phpyellow.com
.


Quantcast