[wplug] Web logging?
Poyner, Brandon
bpoyner at ccac.edu
Fri Nov 4 14:59:30 EST 2005
> If you want a script to grab and store stuff as it comes in,
> in PHP this
> could be done pretty simply.
>
> Just loop through the pre-defined $_SERVER variables and add a date
> function like this:
>
> <?php
> echo "<table border=\"1\">";
>
>
>
> echo "<tr><td>Date/Time</td><td>".date('Y-m-d H:i:s')."</td></tr>";
>
>
>
> foreach($_SERVER as $key=>$value) {
> echo "<tr><td>".$key."</td><td>".$value."</td></tr>";
> }
>
>
>
> echo "</table>";
> ?>
That reminds me of the verbose <?phpinfo()?>
Brandon Poyner
Network Engineer III
CCAC - College Office
412-237-3086
More information about the wplug
mailing list