$t = 0; foreach ($alph_ersetz as $b) { $nihi_matrix .= $b . " "; if ($t % 5 == 4) { $nihi_matrix .= "<br>"; } $t++; } } if (isset($_POST['encode']) || !isset($_POST['decode']) && !isset($_POST['encode']) && $firsttime == TRUE) { $coder2->setText($orgtxt); $coder2->setFrom($from); $coder2->setTo($to); $coder2->setPW1($key); $coder2->setPW2($key2); $coder2->vorverarb(); $codtxt = $coder2->crypt(); if ($codtxt == 0) { $codtxt = ""; } $alph_ersetz = $coder2->getMatrix(); $t = 0; foreach ($alph_ersetz as $b) { $nihi_matrix .= $b . " "; if ($t % 5 == 4) { $nihi_matrix .= "<br>"; } $t++; } } $form = file_get_contents($ks_hilf[pfad] . '/form.template');