랜덤 숫자 발생기.. 난수 발생기 > PHP

본문 바로가기

사이트 내 전체검색

뒤로가기 PHP

랜덤 숫자 발생기.. 난수 발생기

페이지 정보

작성자 최고관리자 작성일 21-02-09 11:31 조회 4,706 댓글 0

본문

srand ((double) microtime() * 1000000);
 $randval = rand();
 $randval = mt_rand(1, 100);




 ===============================================

 <?

 $value=round((double) microtime() * 1000000);


 echo ("
 <font size=2 color=blue>요고이 난수 발생기임돠</font>
 <font size=2 color=red>$value</font> <br>
 ");

 ?>

댓글목록 0

등록된 댓글이 없습니다.

Copyright © beautipia.co.kr. All rights reserved.

contact : webmaster@beautipia.co.kr

PC 버전으로 보기