riix
1/4/2013 - 5:23 AM

base64 Encode

base64 Encode

$filename = $_FILES['upload']['name'];
$filename = preg_replace("/([가-힣]+)/ise", 'base64_encode(\'$1\')', $filename);
$filename = str_replace(' ','', $filename);