mam problem
chcę sobie zrobić koder/dekoder md5.
zrobiłem już koder, ale z dekoderem mam problem.
o to listing z pliku index.php
<html> <head> <meta http-equiv="Content-Language" content="pl"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> </head> <body> <br> <br> </p> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%"> <tr> <td width="100%"> </tr> </table> </center> </div> </p> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="74%"> <tr> <td width="100%"> <form method="POST" action="kodowane.php"> </form> </tr> </table> </center> </div> </body> </html>
a to plik kodowane.php (obsługujący formularz)
<html> <head> <meta http-equiv="Content-Language" content="pl"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> </head> <body> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%"> <tr> <td width="100%"> <p align="center"> </tr> </table> </center> </div> <div align="left"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="46%"> <tr> <td width="100%"> <form method="POST" action="kodowane.php"> </form> </td> </tr> </table> </div> <hr> <?php $slowo = $_POST[slowo]; $zakodowane = md5($slowo); ?> <br> <br> <br> <?php echo($zakodowane); ?> </p> </body> </html>
teraz proszę Was o pomoc. Jak mam zrobic dekoder o co chodzi?
pomożcie!