ID: 12595 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Old Operating System: win2k (prob. all win's) Operating System: win2k (prob. all win\'s) PHP Version: 4.0.6 New Comment:
with 'C:\php\php.exe -q "%1" %2 %3 %4 %5 %6 %7 %8 %9' set the command line arguments cannot contain spaces, it should be rather 'C:\php\php.exe -q "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"' to allow the possibility to escape arguments containing spaces into "'s Previous Comments: ------------------------------------------------------------------------ [2001-08-06 09:00:05] [EMAIL PROTECTED] When installing php on win32 it creates a registry record at "My Computer\HKEY_CLASSES_ROOT\Applications\" named php.exe the problem is that the value of "My Computer\HKEY_CLASSES_ROOT\Applications\php.exe\shell\open\command\" is default 'C:\php\php.exe "%1"' it means it only passes to php.exe the first argument = the name of the file and it do NOT pass any other arguments. The solution is (maybe can be in a newer version of win32 php) to set the value to 'C:\php\php.exe -q "%1" %2 %3 %4 %5 %6 %7 %8 %9' (maybe without the -q argument) Sorgo ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12595&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]