[PHP-DEV] Bug #12219 Updated: Command Line Arguments not being passed correctly

2002-01-19 Thread edink

ID: 12219
Updated by: edink
Reported By: [EMAIL PROTECTED]
Old Status: Analyzed
Status: Closed
Bug Type: URL related
Operating System: Redhat 7.0
PHP Version: 4.0.5
New Comment:

This issue is resolved by inclussion of
cli sapi in the current cvs. You can download the
latest cvs snapshot from http://snaps.php.net/php4-latest.tar.gz.

The new cli interpreter is built in $srcdir/sapi/cli.
make install will install it in $bindir/php
(/usr/local/bin/php by default).


Previous Comments:


[2001-07-18 11:37:08] [EMAIL PROTECTED]

Ack! What was I doing? :) Thanks for catching this!





[2001-07-18 10:21:42] [EMAIL PROTECTED]

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).




[2001-07-17 22:33:26] [EMAIL PROTECTED]

This is not a bug.
Review http://www.php.net/manual/en/language.variables.external.php



[2001-07-17 20:31:03] [EMAIL PROTECTED]

./grab_meta
http://altavista.com/sites/search/web?q=task+managementpg=qkl=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=12219edit=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]




[PHP-DEV] Bug #12219 Updated: Command Line Arguments not being passed correctly

2001-07-18 Thread zak

ID: 12219
Updated by: zak
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: Unknown/Other Function
Operating System: Redhat 7.0
PHP Version: 4.0.5
New Comment:

Ack! What was I doing? :) Thanks for catching this!



Previous Comments:


[2001-07-18 10:21:42] [EMAIL PROTECTED]

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).




[2001-07-17 22:33:26] [EMAIL PROTECTED]

This is not a bug.
Review http://www.php.net/manual/en/language.variables.external.php



[2001-07-17 20:31:03] [EMAIL PROTECTED]

./grab_meta http://altavista.com/sites/search/web?q=task+managementpg=qkl=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=12219edit=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]




[PHP-DEV] Bug #12219 Updated: Command Line Arguments not being passed correctly

2001-07-17 Thread zak

ID: 12219
Updated by: zak
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Redhat 7.0
PHP Version: 4.0.5
New Comment:

This is not a bug.
Review http://www.php.net/manual/en/language.variables.external.php

Previous Comments:


[2001-07-17 20:31:03] [EMAIL PROTECTED]

./grab_meta http://altavista.com/sites/search/web?q=task+managementpg=qkl=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=12219edit=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]