PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You use $_GET when you're checking for stuff coming from the URL's query string, you wouldn't use it for checking variables you had set within the script. For info on $_GET and the other predefined variables: http://www.php.net/manual/en/language.v ... efined.php
I prefer using either isset() or empty() (depending on what I'm looking for) to check that variables exist before I try and use them but I also trim() any user input.
Mac
Last edited by twigletmac on Fri Aug 09, 2002 1:45 am, edited 1 time in total.