Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[php] Menghitung ipk x uang Jajan (if else)
#4
kalo ane sih gini bro untuk password..

PHP Code:
<form action="<?php _PHP_SELF ?>" method="post"> <p> <input type="text" name="username" value="admin"/>username </p> <p> <input type="text" name="password" value="hackernewbie" />password </p> <p> <input type="submit" name="kirim" value="Submit" /> </p> </form> <?php if(isset['kirim']) { $username =$_POST['username']; $password =md5($_POST['password']); if ($username!= | $password!=) { echo "Username password Salah"; } else { echo "Username dan Password benar"; } } ?>
PHP Code:
root@xh4x0r / $ ~
Reply


Messages In This Thread
RE: [php] Menghitung ipk x uang Jajan (if else) - by Up_ - 12-13-2011, 01:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PHP] Menghitung Persentase Browser Yang Digunakan User Untuk Mengunjungi Halaman Web K4pT3N 10 171 05-19-2010, 10:30 PM
Last Post: Giez

Forum Jump:


Users browsing this thread: 1 Guest(s)