I used to be able to detect a var within URL but it doesn't appear to be working on my new server. I also can not find it in the manual... kinda lost at the moment.
What is the best way to detect if a variabel is present in the URL?
if (!ereg("VAR1",$REQUEST_URI)) {
echo "blah";
}
My register_global is currently set to OFF. It appear I am unable to use somethign like: code=php[/code]