Quote:Original post by Rob Loach
I haven't had much experiance with PHP5, but I do know that register_globals can mess around with some stuff. You could check the documentation (I'm assuming you already have).
register_globals would have made the 'check' GET variable $check automatically.
The reason you're getting an index undefined error is because $_GET is an array. An associative array of key=value pairs that comes from your GET arguments. If the key "check" is not on the url, then it will not be in the array and thus the index in the array is undefined.
You will need to test it first..
$check=some default value;if(isset($_GET['check'])) $check = $_GET['check'];