Advertisement
Guest User

hasil.php

a guest
Sep 24th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.75 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5.     <?php include "index.php" ?>
  6.     <title>Program Enkripsi dan Dekripsi</title>
  7.     <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
  8.     <script type="text/javascript" src="js/jquery.js"></script>
  9.     <script type="text/javascript" src="js/bootstrap.js"></script>
  10.     <link href="css.css" rel="stylesheet" type="text/css" >
  11. </head>
  12. <body>
  13. <div class="first">
  14.     <h2>Hasil <i>Encryp/ Decrypt</i></h2>
  15.     <form class="form-group">
  16.         <div class="form-group">
  17.         <input type="text" class="form-control" disabled>
  18.         </div>
  19. </div>
  20.  
  21. <?php
  22.  
  23.     $data = $_POST[data]
  24.  
  25.     $encode = base64_encode($data);
  26.     $decode = base64_decode($data);
  27.  
  28.     echo "<br/>Hasil encode :".$encode;
  29.     echo "<br/>Hasil Decode :".$decode;
  30. ?>
  31. </body>
  32. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement