Skip to content

Instantly share code, notes, and snippets.

@DHS
DHS / error-func.php
Created Jan 23, 2012 — forked from jamiefdhurst/error-func.php
Awesome error function
View error-func.php
<?php
function errorpage($message, $cuscon = false, $goBack = true, $exit = true) {
if (!$cuscon) {
echo "
<table width=\"100%\">
<tr>
<td>
<table width=\"100%\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">