<?php
header("Content-Type: text/html; charset=UTF-8");
$data = sprintf("%04d%02d%02d",2017,8,02);
echo $data;
echo "<br />";
echo "<br />";
echo "<br />";
echo hash('MD5','test')."<br />";
echo hash('SHA256','test')."<br />";
echo hash('SHA256',uniqid(rand(),1))."<br />";
echo "<br />";
echo "<br />";
echo "<br />";
echo uniqid()."<br />";
echo uniqid("",1)."<br />";
echo uniqid(rand())."<br />";
echo uniqid(rand(),1)."<br />";
?>
'PHP > PHP함수' 카테고리의 다른 글
session_cache_limiter (0) | 2017.11.15 |
---|---|
session_regenerate_id (0) | 2017.11.14 |
$_SERVER 함수 (0) | 2017.11.13 |
define() 초기설정값 셋팅 (1) | 2017.11.12 |
ceil(), floor(), round() 반올림 처리하는 함수들 (1) | 2014.10.31 |