07-06-2010, 02:13 PM
di cocol css dikit ahh.. :P



CMIIW...
* Arusar kabooorrr....



Code:
<HTML>
<HEAD>
<TITLE>Encript & Decript</TITLE>
<style type="text/css">
<!--
textarea,body,input {
border-color:#00ff00;
color:#00ff00;
background-color:#000000;
}
input {
cursor:pointer;
}
-->
</style>
</HEAD>
<BODY>
<center>
<table border="0" cellpadding="0" cellspacing="3">
<form action="" method="post">
<tr>
<td width="15%">input kata</td>
<td width="3%">:</td>
<td width="82%"><textarea name="encript" rows="5" cols="40"></textarea></td>
</tr>
<tr>
<td width="15%"></td>
<td width="3%"></td>
<td><input type="submit" value="encript"><input type="reset" value="Batal"></td>
</tr>
</form>
</table>
<BR>
<table border="0" cellpadding="0" cellspacing="3">
<form action="" method="post">
<tr>
<td width="15%">input kata</td>
<td width="3%">:</td>
<td width="82%"><textarea name="decript" rows="5" cols="40"></textarea></td>
</tr>
<tr>
<td width="15%"></td>
<td width="3%"></td>
<td><input type="submit" value="decript"><input type="reset" value="Batal"></td>
</tr>
</form>
</table>
<BR>
<table border="0" cellpadding="0" cellspacing="3">
<tr>
<td width="15%">Output</td>
<td width="3%">:</td>
<td width="82%"><textarea name="" rows="5" cols="40">
<?php $encript = $_POST['encript'];$decript = $_POST['decript'];echo base64_encode($encript);echo base64_decode($decript);?>
</textarea>
</table>
</tr>
<BR>
<I><B>Created by xpdc_borneo</B></I>
</center>
</BODY>
</HTML>CMIIW...
* Arusar kabooorrr....
I'm Study Manufacturing Engineering



