Stefan Priebsch schrieb:
I always use something str_replace('\\', '/', $aFilename) before I work with filenames, and normally have no cross-plattform issues with that. I also do it after using realpath(), for example.
I know. It's really a pain. In many times you must correct the PHP behavior in your PHP code :-/ (Or just use pcre for such tasks)
On my bsd box (only PHP 5.0x) it's also curious when I try to build batchfiles for Windows. A "dirname('C:\\Windows\\foo')" returns "." ... (Maybe it's correct if I upgrade PHP?)
I know this is not really to the point, but it might just help you work around the problem.
It's not a current problem from me. Only a point which IMHO should be corrected. But thanks anyway.
Regards, Carsten -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php