<?php
set_error_handler("customError");
function customError($errno, $errstr) {
    echo "<b>Error:</b> [$errno] $errstr<br>";
    echo "Ending Script";
    die();
  }
$file = fopen( "welcome.txt" , "r" ) ; 
?>