- This page will refresh if the server senses a variable passed in via GET.
- It will post an error message and stop refreshing if it does not sense a GET being passed in.
The code was:
$ServerErrorTest = $_GET['ServerErrorTest']; if($ServerErrorTest == "") { print "ERROR! We did not receive the ServerErrorTest variable passed in via GET. I would tell you how many times it had to refresh, but I am not receiving the GET variable! (".$ServerErrorTest.") You can see it in the URL though!\n"; } else { $ServerErrorTest++; print "RECEIVED We did receive the ServerErrorTest variable passed in via GET. It was ".$ServerErrorTest.".\n"; print "<meta http-equiv=\"refresh\" content=\"0; url=https://app.realestatefinancialplanner.com/server-error-demonstration/?ServerErrorTest=".$ServerErrorTest."\">\n"; }