Hallo! Mein Code bis jetzt (ACHTUNG: Bin totaler Anfänger, also bitte nicht wundern):
<?php
//Variablen
$text = $_REQUEST['codier-text'];
$coding = array($code);
$coding['A'] = "X";
$coding['B'] = "Y";
$coding['C'] = "Z";
$coding['D'] = "A";
$coding['E'] = "B";
$coding['F'] = "C";
$coding['G'] = "D";
$coding['H'] = "E";
$coding['I'] = "F";
$coding['J'] = "G";
$coding['K'] = "H";
$coding['L'] = "I";
$coding['M'] = "J";
$coding['N'] = "K";
$coding['O'] = "L";
$coding['P'] = "M";
$coding['Q'] = "N";
$coding['R'] = "O";
$coding['S'] = "P";
$coding['T'] = "Q";
$coding['U'] = "R";
$coding['V'] = "S";
$coding['W'] = "T";
$coding['X'] = "U";
$coding['Y'] = "V";
$coding['Z'] = "W";
//schau was drinsteht
$newtext = str_replace(?, $coding, $text);
print $newtext;
?>
~~~~~~html
<html>
<form>
<textarea name="codier-text">
</textarea>
<input type="submit" />
</form>
</html>
Mein Gedanke war's, den text aus der textarea zu requesten, die buchstaben dann gegen die aus dem array auszutauschen...
Hilfeeeee! Bitte! mfg die-kuh-macht-muh