Want more scripts? Just ask
<?php
class iSystem
{
var $errors = array();
function debug($enabled)
{
if ($enabled == '1'
{
error_reporting(E_ALL);
ini_set('display_errors', 'On'
;
} else {
error_reporting(0);
ini_set('display_errors', 'Off'
;
}
}
function error($error_num)
{
$this->errors[] = "Username invalid";
$this->errors[] = "Password Invalid";
$this->errors[] = "Email Taken";
$this->errors[] = "Username taken";
echo $this->errors[$error_num];
}
}
$system = new iSystem();
//Do you want to show errors? Debug mode? 1 = on / 0 = off
$system->debug(1);
//You can use this for error testing -- use try and catch please, kthnxbye :
$username = "rodney";
try {
if ($username != "wrong") {
throw new Exception($system->error(1));
}
}
catch (exception $e) {
echo $e->getMessage();
}
?>
And when you're on skype let's chat
Read the comments it's self explanatory.
Copyright © 2026, NextGenUpdate.
All Rights Reserved.