Re: Command line args HELP!!!
| From: | Paul A. Procacci | Date: | Thu, 19 Jul 2001 07:20:50 +0000 |
| Subject: | Re: Command line args HELP!!! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58609@lists.php.net to get a copy of this message | ||
That is not the problem! Read below. This issue was resolved. It _is_
a bug, and is on the todo list for the php programmers. :)
Elias wrote:
>
> argv
> Array of arguments passed to the script. When the script is run on the
> command line, this gives C-style access to the command line parameters. When
> called via the GET method, this will contain the query string.
>
> argc
>
> Contains the number of command line parameters passed to the script (if run
> on the command line).
>
> try'em....
>
> "Paul A. Procacci" <procacci@procacci.net> wrote in message
> news:3B556201.1E87CF84@procacci.net...
> > Hey all,
> > I tried passing an argument to a php script that had a plus sign (+)
> > in one of the arguments. Observe the following:
> >
> > <sciptname>
> >
> > http://altavista.com/sites/search/web?q=task+management&pg=q&kl=XX
> >
> > As it turns out the argument gets split into two seperate arguments, but
> > I would like to keep it as one argument. Does anyone know how to
> > accomplish this. I posted a bug report to bugs.php.net, and they
> > responded by telling me to read:
> >
> > http://www.php.net/manual/en/language.variables.external.php
> >
> > But still after searching that page for the information I was looking
> > for, nothing seemed to work. Am I missing something. Please let me
> > know.
> >
> > Thanks,
> > Paul
> >