Re: shouldn't $_SERVER['PHP_SELF'] include the get info?
| From: | Erwin | Date: | Thu, 26 Sep 2002 10:43:45 +0000 |
| Subject: | Re: shouldn't $_SERVER['PHP_SELF'] include the get info? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117692@lists.php.net to get a copy of this message | ||
Noodle Snacks wrote:
> "Erwin" <erwin@isiz.com> wrote in message
> news:20020926100250.2110.qmail@pb1.pair.com...
>> Noodle Snacks wrote:
>
> [snipped]
>
>>
>> It is supposed to be like that...the PHP_SELF points to this file,
>> and the filename has no arguments, thus the PHP_SELF variable don't
>> have them either.
>>
>> You will have to use the $_GET array for the "aid=12" part.
>
> yeh, I figured that. But is there some easy way to print *all* of the
> get data parsed? (In this case, the variable names, number of vars
> etc varies alot. And this has rissen from a bug in a 250kb+ source
> plus project.
>
> I am wondering if there is a smart way. or do I have to examine the
> $_GET array for all vars and pass them on manually?
Ah, I didn't understand your question (my mistake). Answer to your question
(I hope): there is a smart way: $_SERVER['QUERY_STRING']
HTH Erwin