k

간단한 쿠폰번호 생성

· 13년 전 · 5616

$str = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$code1 = substr(str_shuffle($str),0,4);
$code2 = substr(str_shuffle($str),0,4);
$code3 = substr(str_shuffle($str),0,4);
$code = $code1."-".$code2."-".$code3;

다들 아실테니 ㅎㅎㅎ

|

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고