tamouse mailing lists <tamouse.li...@gmail.com> wrote:
>On Sat, Apr 20, 2013 at 1:51 PM, Angela Barone
>> I've written a script that logs all visits to a web site,
>complete with referrer and IP address. It also logs all 4xx errors.
>What I'd like to add to this is, if someone adds extra code after the
>page_name.php, to be able to capture any extra code and log that.
>> I've tried:
>So, since I wasn't exactly sure what got put into $_SERVER, and since
>I'm lazy, I tapped out the following script:
>When I called it with the following URL:
>It showed all the stuff in $_SERVER as a result of that, including:
> string(47) "/~tamara/teststuffout/logger.php/one/two?a=true"
> string(8) "/one/two"
> string(6) "a=true"
>Interestingly, it appears nothing reports #fragment...
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php