I am familiar with PHP, although, my strengths are in VBS, basic, C++, etc. I do understand how POST and GET are handled. What I don't get is why is my script barking at me now.
Apparently not. PHP used to be insanely forgiving, but that does not mean that referring to something that does not exist is not an error. For production systems, you can still hide all warnings, errors and notices,
to keep this useful information from people hacking your site. It does not mean it is OK to do so.
Thank goodness PHP no longer tries to outsmart developers by unwantedly injecting quotes into input and hiding errors. So now, by default, you will see your errors. So the reason PHP did not bark before, was that PHP by default put its fingers in its ears and sang "lalala, no problem!", what ever happened.
And now it is finally telling you what you did wrong. Again, thank goodness. Now you can learn from the messages and see what unexpected things happen. Do not cover up the errors, learn from them. Correct them. Check your input before you use it.
Let me repeat that:
Check your input before you use it.
Because that is the basis of security for any web site that handles input. Really. It wish it would be otherwise, but the web has lost its innocence. Automated programs are scanning the web for any vulnerable site to do some harm. Your site also.
+++ Despite being wrong in every important aspect, that is a very good analogy +++
Hex (in Darwin's Watch)