Bug #12219 Updated: Command Line Arguments not being passed correctly

From: Date: Wed, 18 Jul 2001 14:21:43 +0000
Subject: Bug #12219 Updated: Command Line Arguments not being passed correctly
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60220@lists.php.net to get a copy of this message
ID: 12219 Updated by: cynic Reported By: procacci@procacci.net Old Status: Bogus Status: Analyzed Bug Type: Unknown/Other Function Operating System: Redhat 7.0 PHP Version: 4.0.5 New Comment: Zak, IIRC this _is_ a bug, or at least a misfeature. the TODO file says: * when used in standalone (skell-script like) mode don't urldecode arguments passed to php. right now it's not possible to say /usr/local/bin/php somescript.php dog+cat.txt as "dog+cat.txt" will arrive in php as "dog cat.txt". BTW, AFAICT the manual page you linked here contains _nothing_ about this particular issue (I even read all the notes on the page). Previous Comments: ------------------------------------------------------------------------ [2001-07-17 22:33:26] zak@php.net This is not a bug. Review http://www.php.net/manual/en/language.variables.external.php ------------------------------------------------------------------------ [2001-07-17 20:31:03] procacci@procacci.net ./grab_meta http://altavista.com/sites/search/web?q=task+management&pg=q&kl=XX 3 The following command line argument doesn't work because of the plus sign (+). This also hold true when the second argument is enclosed in qutoes (") || ('). The plus sign (+) causes the second argument to split up into two smaller arguments. BUG? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12219&edit=1

« previous php.dev (#60220) next »