'; }else if ($code == "500"){ // Bad ip, we simply end the connection without sending anything }else if ($code == "501"){ // Internal error, we end the connection } } } ?>