Location: PHPKode > projects > phprofession job board > phProfession_SA/handle_error.php
?php
#####################################
#   phprofession   June   2002      #
#   by Aidan Peiser	    	    #
#   Recruitment module for PN.714   #
#   www.galore.co.za	    #
#	.,.,.,,			    #
#	C 'C' C			    #
#	 > * <			    #
#####################################

$ModName = basename(dirname(__FILE__));
include("header.php");
include("config.php");
include("functions.php");

phprofession_language();

if ($error == '1') {
	echo ("<a href='$HTTP_REFERER'>Username Already Exists</a>\n");
	exit();
} elseif ($error == '2') {
	echo ("<a href='$HTTP_REFERER'>Passwords Do Not Match</a>\n");
	exit();
} elseif ($error == '3') {
        echo ("<a href='$HTTP_REFERER'>One or Both of Passwords Were Not Entered</a>\n");
	exit();
} elseif ($error == '4') {
        echo ("<a href='$HTTP_REFERER'>Password Must Have Be At Least 7 Charecters Long</a>\n");
	exit();
} elseif ($error == '5') {
        echo ("<a href='$HTTP_REFERER'>Permission Denied: Please edit conf-inc.php</a>\n");
	exit();
} elseif ($error == '6') {
        echo ("<a hreh='$HTTP_REFERER'>Permission Denied:Must Log In</a>\n");
	exit();
} elseif ($error == '7') {
        echo ("<a href='$HTTP_REFERER'>Could Not Authenticate: No Such User</a>\n");
	exit();
} elseif ($error == '8') {
        echo ("<a href='$HTTP_REFERER'>Could Not Authenticate: Bad Password</a>\n");
	exit();
} elseif ($error == '9') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
} elseif ($error == '10') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
} elseif ($error == '11') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
} elseif ($error == '12') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
} elseif ($error == '13') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
} elseif ($error == '14') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
} elseif ($error == '15') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
} elseif ($error == '16') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
} elseif ($error == '17') {
        echo ("<a href='$HTTP_REFERER'>NULL</a>\n");
}

CloseTable();
include("footer.php");
?>
Return current item: phprofession job board