#20729 [Opn->Ctl]: PHP will not load files with a " " in their path

From: Date: Sat, 30 Nov 2002 17:54:27 +0000
Subject: #20729 [Opn->Ctl]: PHP will not load files with a " " in their path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26242@lists.php.net to get a copy of this message
ID: 20729 Updated by: wez@php.net Reported By: laptop006@chriskaine.com.au -Status: Open +Status: Critical Bug Type: Reproducible crash Operating System: Windows 98 PHP Version: 4.3.0RC2 New Comment: Reproduced under win98 (VMWare). It works just fine under XP. Curiously, sometimes php would actually hang. Running from the command line always worked just fine. It needs someone with a dev environment under 98 to investigate; send me the call stack that causes the error and I will help fix it. Previous Comments: ------------------------------------------------------------------------ [2002-11-30 07:56:10] laptop006@chriskaine.com.au With just the default mapping generated by windows I get "Could not open input file: C:\Program" and with the "%s" on the end I get "Could not open input file:1" ------------------------------------------------------------------------ [2002-11-30 07:46:22] derick@php.net reopening then. What exact error do you get? ------------------------------------------------------------------------ [2002-11-30 07:40:53] laptop006@chriskaine.com.au Tested and it still fails new mapping for 'execute' '"c:\program files\php4\php.exe" "%s"' ------------------------------------------------------------------------ [2002-11-30 05:09:25] derick@php.net Most likely not a bug, instead of using this: php.exe %s as mapping, use php.exe "%s". Not really a bug -> bogus ------------------------------------------------------------------------ [2002-11-29 23:17:31] laptop006@chriskaine.com.au If you assign .php scripts to open with php.exe (for example to run GTK-PHP scripts by double clicking) any scripts with a " " in their path will fail as the arguments will be seperated by php.exe, it works as expected for the version of PHP provided by the PHP-GTK packages (claims to be 4.3.0) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20729&edit=1

« previous php.bugs (#26242) next »