PHP exit() May 23, 2012 Pramod T P It output a message and terminate the current script Example <?php $fp = fopen($site,”r”) or exit(“Failed”); ?> Output phpcode