Re: How to log visitors using PHP?
Uzytkownik "CountScubu la" <me@scantek.hot mail.com> napisal w wiadomosci
news:CLU5c.1117 4$7K2.5116@news svr27.news.prod igy.com...[color=blue]
> "deko" <dje422@hotmail .com> wrote in message
> news:U7U5c.3954 6$3T6.6442@news svr25.news.prod igy.com...
> Sometimes on a shared server, you can still look at the logs, generaly[/color]
they[color=blue]
> are readable by all system accounts, try something like this:
>
> test.php
> ----------------------
> <?php
> $info =`tail /var/log/httpd/access_log`;
> print $info;
> ?>[/color]
On our server the Apache logs have more entries for Red Alert and various
other IIS worms than real user requests. I have completely given up on them
:-(
Uzytkownik "CountScubu la" <me@scantek.hot mail.com> napisal w wiadomosci
news:CLU5c.1117 4$7K2.5116@news svr27.news.prod igy.com...[color=blue]
> "deko" <dje422@hotmail .com> wrote in message
> news:U7U5c.3954 6$3T6.6442@news svr25.news.prod igy.com...
> Sometimes on a shared server, you can still look at the logs, generaly[/color]
they[color=blue]
> are readable by all system accounts, try something like this:
>
> test.php
> ----------------------
> <?php
> $info =`tail /var/log/httpd/access_log`;
> print $info;
> ?>[/color]
On our server the Apache logs have more entries for Red Alert and various
other IIS worms than real user requests. I have completely given up on them
:-(
Comment