When a client moves from the http files to https online registration and the server is down the PHP code show up on the screen. Is there a test I could preform to see if the https is down? I could display a server down message and not link the registration file.
You might be able to use:
if($HTTP_SERVER_VARS["HTTPS"] != "on") { // load something else }
else { // Do Registration }