javascript - PHP create filename in hebrew -
i'm trying create new filename in hebrew displaying in special characters "שש_שש_שש.php"
php:
$page = mysql_real_escape_string(htmlspecialchars($_post['page'])); $fh = fopen('../pages/'.$page.".php", 'w') or die("can't create file"); fclose($fh);
thanks.
have tried hebrev()
?
$page = mysql_real_escape_string(htmlspecialchars($_post['page']));
instead try this
$page = hebrev($_post['page']);
this might work.
Comments
Post a Comment