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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

android - CoordinatorLayout, FAB and container layout conflict -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -