need help to configure xdebug, for debugging projects from IDE netbeans. These are the features of my components: XAMPP 1.8.2 PHP: 5.4.16 netbeans: 7.3.1 Apache: 2.4.4 (Win32) this is the …
Tag: windows
glob() can’t find file names with multibyte characters on Windows?
I’m writing a file manager and need to scan directories and deal with renaming files that may have multibyte characters. I’m working on it locally on Windows/Apache PHP 5.3.8, with the following file names in a directory: filename.jpg имяфайла.jpg file件name.jpg פילענאַמע.jpg 文件名.jpg Testing on a live UNIX server woked fine. Testing locally on Windows using glob(‘./path/*’) returns only the first
How to determine path to php.exe on Windows – search default paths
I’m currently developing a couple of plugins for Sublime Text 2 on OS X and I would like to make them cross platform, meaning I have to find out if and where php.exe is installed. Right now I call /…
How can I define the DIRECTORY_SEPARATOR for both Windows and Linux platforms?
Now I create a small PHP Application, here I have problem for using file path, because in Windows use this type location C:SomeLocationindex but in Linux /www/app/index so when I define the path using this / but when the application run in window machine it should be problem for this /. So here I want to define the DIRECTORY_SEPARATOR both