View Single Post
Old 05-29-2012, 04:35 PM  
shake
frc
 
Industry Role:
Join Date: Jul 2003
Location: Bitcoin wallet
Posts: 4,663
Quote:
Originally Posted by Zoxxa View Post
Sorry I am on my phone so can't give examples but you can use the explode function to accomplish this. Use the period as the delimiter, convert to array, echo each piece however you want.

http://php.net/manual/en/function.explode.php
That should do it, the parts of an IP are the Octets, so you can feed each one in that way and you'll be good to go
shake is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote