News:

Want to get involved in developing SMF, then why not lend a hand on our github!

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: