In php and windows7 as OS file saving as arabic name it gives like this مشرشىغش.I need save the file name with the arabic text only.
header("Content-Type:text/html; charset=utf-8");
$name = $_GET['name'];
if ( isset ( $GLOBALS["HTTP_RAW_POST_DATA"] ))
{
$filename = $name.".png";
file_put_contents($filename,$GLOBALS[ 'HTTP_RAW_POST_DATA' ]);
}
Please help me.
Thank you.