Ill post this again (from the right account this time)
I know its not PHP but its a very simple script i run from cron for
keeping tabs on things
$cat get_cheaters.pl
#!/usr/bin/perl -w
@logs = `grep Secure cstrike/logs/*`;
print "<html><head><table>\n";
foreach (@logs){
if(m/\"(.+)<(\d+)><(\d+)>/){
print "<tr><td>\n";
printf "WONID %-15s // Name: %s\n", $3, $1;
print "</td></tr>\n";
}
}
print "</table></head></html>\n";
and in crontab
0 0,12 * * * /path/to/get_cheaters.pl > /path/to/html/doc.html
Like I say, not php, but gets desired results.
On Wed, 2002-06-05 at 12:42, Ryan McCullough wrote:
> if you find it please post it.
>
> "Steve Fulton" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi all,
> >
> > Early someone mentioned they made a PHP script that parsed the logs and
> > generated a page of all people caught with Valve's anti-cheat. I was
> > wondering if that person would mind sharing the source ;)
> >
> > -- Steve
> >
> >
> >
> > ------
> > "Nullum magnum ingenium sine mixtura dementiae fuit."
> > -- Seneca
> >
> >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux