
Italiano :: English :: Download Source Code
Ciao ragazzi, ho deciso di modificare lo script precedentemente proposto aggiungendo nuove feature piuttosto funzionali. Da notare quindi:
- Logrotate function -> invio "periodico" del file di log all'email dell'amministratore e contemporaneo reset del file di log principale [access.log]. Verrà comunque mantenuto sul server un backup del file di log [accessDataOra.log], per ovviare ad eventuali problemi in fase di invio della mail stessa;
- Country identification based on IP address -> script basato su http://www.phptutorial.info/iptocountry/the_script.html, il quale utilizza il database fornito da software77.net;
- Pie charts -> realizzazione di grafici a torta mediante Google Chart Tools.
File utili:
- l0gg3r.php (contiene le funzioni necessarie al logging)
- list.php (lista formattata del file di log)
- stats.php (statistiche e grafici a torta)
Si raccomanda di modificare le righe 40,41 del file l0gg3r.php, in modo da indicare l'email cui inviare il file di log:
... $to = "admin@yoursite.com"; $site_name = "www.yoursite.com"; ...
Hello guys, I decided to modify the previously proposed script adding new functional features. See the list below:
- Logrotate function -> "periodic" log file sending to the admin mail address and main log file reset [access.log]. A backup log file will be maintained on the server [accessDateTime.Log] to avoid data loss if the mail sending fails;
- Country identification based on IP address -> script based on http://www.phptutorial.info/iptocountry/the_script.html, which uses the database provided by software77.net;
- Pie charts -> pie charts using Google Chart Tools.
Useful files:
- l0gg3r.php (it contains the functions needed for logging)
- list.php (log file formatted list)
- stats.php (statistics and pie charts)
It is recommended to change the lines 40,41of the file l0gg3r.php, to indicate the admin mail address:
... $to = "admin@yoursite.com"; $site_name = "www.yoursite.com"; ...
Download Source Code:

stats.php (output example)

list.php (output example)
(Icon by dimpoart)
LATEST ENTRIES
- HTML5 xss vectors
- Computer threats: cool statistics
- php l0gg3r 0.2.2: a very simple php logger
- Mobile Web: Privacy Keeping and Exploitation Methods (on Hakin9 2010-02)
- Möbius strip
- [java] NetS3nd [easy] Client - client to send messages over windows NT/2000 networks
- Merry Xmas!!
- touchscreen_gesture.c (for Openmoko NeoFreerunner)

Replies: 0
Leave a Reply