Code:
http://multiupload.com KLFWRPBPCO
index.phpCode:
<html>
<head>
<title>Leet Encoder - Decoder</title>
</head>
<body>
<form method='POST' action='action.php'>
<table>
<tr><td>Upisite text koji zelite da cryptujete / decryptujete!</td><td>
<tr><td><textarea cols='25' rows='5' name='text'></textarea></td><td>
<tr><td><input type='submit' name='encode' value='Encode' /><input type='submit' name='decode' value='Decode' /></td><td>
</table>
</form>
</body>
</html>
action.phpCode:
<?php
$text = $_POST['text'];
$normalno = array('a','e','i','o','g','c','s');
$leet = array('4','3','1','0','9','(','5');
if(isset($_POST['encode'])) {
$text_encoded = str_ireplace($normalno, $leet, $text);
echo $text_encoded;
} elseif(isset($_POST['decode'])) {
$text = $_POST['text'];
$text_decoded = str_ireplace($leet, $normalno, $text);
echo $text_decoded;
} else {
echo "Izaberite dali zelite da se text cryotuje ili decryptuje!";
}
?>