Bug #12595: $argv passing

From: Date: Mon, 06 Aug 2001 13:00:05 +0000
Subject: Bug #12595: $argv passing
Groups: php.dev 
Request: Send a blank email to php-dev+get-62247@lists.php.net to get a copy of this message
From: sorgo@alternet.sk Operating system: win2k (prob. all win\'s) PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: $argv passing 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 bug report at: http://bugs.php.net/?id=12595&edit=1

« previous php.dev (#62247) next »