"; $v_message .= "

PclError Library has detected a fatal error on file '$p_file', line $p_line

"; $v_message .= "

$p_error_string

"; $v_message .= ""; die($v_message); } // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // Function : PclErrorReset() // Description : // Parameters : // -------------------------------------------------------------------------------- function PclErrorReset() { global $g_pcl_error_string; global $g_pcl_error_code; $g_pcl_error_code = 1; $g_pcl_error_string = ""; } // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // Function : PclErrorCode() // Description : // Parameters : // -------------------------------------------------------------------------------- function PclErrorCode() { global $g_pcl_error_string; global $g_pcl_error_code; return($g_pcl_error_code); } // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // Function : PclErrorString() // Description : // Parameters : // -------------------------------------------------------------------------------- function PclErrorString() { global $g_pcl_error_string; global $g_pcl_error_code; return($g_pcl_error_string." [code $g_pcl_error_code]"); } // -------------------------------------------------------------------------------- // ----- End of double include look } ?>