Merge branch 'g5'

This commit is contained in:
chicpro
2015-11-11 11:40:36 +09:00
3 changed files with 13 additions and 2 deletions

View File

@ -2929,6 +2929,17 @@ function get_safe_filename($name)
return $name;
}
// 파일명 치환
function replace_filename($name)
{
@session_start();
$ss_id = session_id();
$usec = get_microtime();
$ext = array_pop(explode('.', $name));
return sha1($ss_id.$_SERVER['REMOTE_ADDR'].$usec).'.'.$ext;
}
// 아이코드 사용자정보
function get_icode_userinfo($id, $pass)
{