If the code "$myownredirect=='foo'" works for you, then you probably are running PHP with register_globals enabled. Beware that doing so is a security risk, since software might easily introduce security holes in this type of setup. The PHP people also advice against this. Unless you really need register_globals for some software on your server, you'd better disable that feature in PHP.
The way to access GET parameters is nowadays through the global $_GET array. If you post a get parameter "myownredirect", then it is available as $_GET["myownredirect"]. The isset() check is done to prevent warning about undefined indexes if you directly try to access $_GET["myownredirect"] (because the index "myownredirect" might not exist in the $_GET array). I guess that on your system PHP warnings are also suppressed in the PHP config, else the "$myownredirect=='foo'" would also throw a warning in case the parameter wasn't posted I think.
If this does the job for you and you're happy with the setup, then great. For others I'd like to recommend the code which uses the $_GET array instead.
BTW: It sounds like $_GET isn't availble at all on your system DonTino. What version of PHP are you running anyway?
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce