I am starting back into the Welling and Thomson book on MySQL and PHP.
On the first form exercise they had one type in the variables using a short version, i.e., $tireqty, $oilqty, etc.
This produced an error when I first ran it, but then I saw the note in the book that this short style for form variable only works if you set register_globals to ON.
So I changed my php.ini and it works. BUT there is a cautionary note in the PHP.ini file that you maybe should not set register_globals to ON for security reasons.
I am not too worried about the security issues of running this stuff local, but if I get proficient enough to have something I port out to my webserver then I am wondering if this is going to be a problem. Are most hosts setting register_globals to off and if so would it be better for me to just learn to use the long version for accessing form variables.
Suggestions.
Thanks :rolleyes: