rianto isaac's Weblog

rianto utomo isaac sahala utomo

php, password angka huruf

leave a comment »

<?php

$text = 'a1a2d3ca';

if(preg_match('![0-9]+!', $text) && preg_match('![a-zA-Z]+!', $text) && strlen($text)>7) {
echo 'berhasil';
}else{
echo 'gagal';
}

rianto utomo bole nyontek dari http://www.kaskus.us/showthread.php?t=9019857&page=2

 

Written by isaaconi

November 16, 2011 pada 11:02 am

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: