&questionID=400147&date=2006-12-09
Isn't that an HTTP-protocol querystring? I can't see how that would work via the commandline. Obviously it does in some instances as you've found out.
For scripts I run from the commandline, I use the format
php -q script.php args myValue
which you can retrieve from the $argv array.