Simple Accesslog Viewer

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
Phaux
-


Joined: 14 Jul 2006
Posts: 11
Location: Arizona, w00t

PostPosted: Tue Jul 25, 2006 6:40 am    Post subject: Simple Accesslog Viewer Reply with quote

NOTE: Due to my lack to really make this script super uptight secure, the code your about to see is very crude and could possibly hurt your eyes :)


I decided that, since I live in a GUI-based world, and even though I could work quite well under a text-based interface, I needed a script or program to view my access log with. Using my knowledge of PHP, php.net's Online Manuals, and a 815-page PHP5 book, I managed to make a simple and quick script for viewing your log.

Here's a screenshot of what the script will produce:


For the IPs, I suggest password-protecting this file, or changing $ip to "Hidden", so it doesn't show the IPs. But do what you want. I have this script available on my server, but I've password protected it, and no one knows where it is, so it's pretty safe :)

By the way, this is my first public script. I'd publish all my scripts, but most of them are obsolete by the ones that are already out there. Please do not hesitate to comment on what needs to be changed in this script, for better or worse!

Download: http://dyslexia.zapto.org/projects/accesslog.php.gz (GZIP Archive, 1.01KB)
_________________
http://phaux.bounceme.net:82/
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group