News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Extract IPs

Started by Seta Soujiro, July 01, 2005, 02:41:52 PM

Previous topic - Next topic

Seta Soujiro

How do I extract all the unique ip addresses (excluding the last digits after the last dot) from /etc/httpd/logs/access_log with a php or perl script?

[Unknown]

I'd probably just use a regular expression.  Worst case scenario, you could use preg_match_all().

-[Unknown]

Advertisement: