pasing part of an URL to commandline php

From: Heinz (lullundlall_at_yahoo.com)
Date: 07/29/04


Date: Thu, 29 Jul 2004 12:55:52 +0200

Hi All

I have an URL like this

http://system/web/htdocs/graphthis.php?csv=/tmp/data.cvs&dir=/web/htdocs/stress&monitor=aaa

I would like to call now the command line php like this:

php graphthis.php '?csv=/tmp/data.cvs&dir=/web/htdocs/stress&monitor=aaa'

The question is can php translate this parameter string into the $_GET[]
aray somehow, so I don't have to rewrite the script ?

Thanks in advance
Heinz