Re: checking multiple URL parameters
| From: | Andrew Kreps | Date: | Thu, 16 Sep 2004 21:37:18 +0000 |
| Subject: | Re: checking multiple URL parameters | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196921@lists.php.net to get a copy of this message | ||
On Thu, 16 Sep 2004 16:25:31 -0500, Greg Donald <destiney@gmail.com> wrote:
> On Thu, 16 Sep 2004 13:31:08 -0700, Andrew Kreps <andrew.kreps@gmail.com> wrote:
> > PHP can be run from the command line, in which case the GET and POST
> > arrays wouldn't exist.
>
> $_GET and $_POST exist in CLI php, they are just empty initially:
>
So, can we pass our URL to parse_url with the $_GET array, and then
use $_GET with a URL other than the one posted? Talk about having
your cake and eating it too... :)