RE: [PHP] How do I get referer in php?
| From: | Chris W. Parker | Date: | Wed, 17 Nov 2004 22:17:19 +0000 |
| Subject: | RE: [PHP] How do I get referer in php? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-202345@lists.php.net to get a copy of this message | ||
John Nichel <mailto:john@kegworks.com>
on Wednesday, November 17, 2004 2:01 PM said:
> M. Sokolewicz wrote:
>>> I'm sure he meant
>>>
>>> echo '<pre>',print_r($_SERVER,1),'</pre>';
> ---^ ---^
>
>>> then... ;)
>>>
>> hadn't noticed that param... I feel ashamed... :$
>>
>
> Didn't notice that those were commas and not periods either, eh? ;)
yeah gosh i guess some people just don't know all the in's and out's of
php!! :P
but seriously, i never add the second parameter to print_r(). i've just
gotten used to the 1 that shows up and i just ignore it.
chris.