Both which make the code more professional;
Classes for good organisation.
Clean code for ease of reading
Clean code for ease of debugging!
Oh btw simon, thanks for using my encryption style :rolleyes:
PHP Code:
function encrypt($string) {
$string = md5($string);
$string = base64_encode($string);
$string = md5($string);
$string = base64_decode($string);
$string = md5($string);
$a1 = strlen($string);
$a2 = base64_decode($string);
$a3 = rand(10000, 999999);
$a4 = "". $a1 ."". $a2 ."". $a3 ."". $a1 ."";
$crypt = md5($a4);
$string = crypt($crypt, "POWERpanelEncryptionOhYeah!lulsSMELLSLIKECHICKEN4");
return $string;
## OUTPUTTED WITH _VERY_ STRONG ENCRYPTION
}
I like the publicity :D *(Seriously)*