ID: 46629 User updated by: j-e dot zwar at bigpond dot net dot au Reported By: j-e dot zwar at bigpond dot net dot au Status: Bogus Bug Type: Directory function related Operating System: win32 only PHP Version: 5.2.6 New Comment:
Thanks for the suggestion to check the versions. I'm confident that it is the same version of PHP which is running when I try from the command line or from IE6/IIS. PHP -v from the command line says that it is version 5.2.6 which is the same version and build date that I get when executing a script with PHPINFO from IE6 and Mozilla/Firefox. So executing a test-directory script from the command line gives me boolean trues for each directory tested, but when executing the SAME script from a browser, I get one false with the others true. Previous Comments: ------------------------------------------------------------------------ [2008-12-28 20:21:03] fel...@php.net Probably the version on command line is an newer version, and on browser is another version used by Apache or other server. ------------------------------------------------------------------------ [2008-11-26 08:33:15] j-e dot zwar at bigpond dot net dot au Have run some more tests. FYI I get the same anomaly when I run the script in a Mozilla/Firefox browser, so it appears something to do with browsers on my PC rather than with IE6 itself. Again, any advice and suggestions will be most appreciated. ------------------------------------------------------------------------ [2008-11-25 13:19:09] j-e dot zwar at bigpond dot net dot au Progress report and unexpected result. Have not yet gotten the 5.3 version to work but I did find out how to run a script from the windows command line. Using my current 5.2.6 php, and executing the directory test script from the command line, all 5 tests return true, but when I execute it in my browser (IE6), test 4 returns false! Seems like something in the browser is causing test 4 (C:\Documents and Settings\Fred & Ginger\My Documents) to return false. Can you offer any suggestions? Thanks again in anticipation. ------------------------------------------------------------------------ [2008-11-25 12:49:17] j-e dot zwar at bigpond dot net dot au Thanks, I will try to do this. But I will need some time as I've not used PHP from a command line before and thus will need to research how to do this. Thanks again for your suggestion. So far I have downloaded the zip "PHP 5.3 Windows x86 VC9 (thread safe)) and then unzipped it to a new directory C:/PHP5.3. ------------------------------------------------------------------------ [2008-11-24 22:58:42] paj...@php.net Not sure what's wrong with the installer on your box, but you can fetch a zip, uncompress it and run your test script from the command line. Please try it. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/46629 -- Edit this bug report at http://bugs.php.net/?id=46629&edit=1