Since PHP 6, there will be no register_globals option, so you will not see output of form input directly as corresponding variables in PHP.
Also a lot of webhosting servers have register_globals turned off. How to get your form output without having to declare form variables at the beginning of every script? It is very simple.
All you have to do is put one line in the beginning of every script you want to see the variables automatically:
foreach($_POST as $variablename => $value) ${variablename} =$value;
This will transform variables from $_POST supervariable containing all form output in array into PHP variables. So if you had textfield named NAME in your form, so the script processing this form will see it as $name. Clean and easy.
I believe that this can help a lot.













