If i wanted to see if a hostname contained the words "austin.rr.com" (The austin, tx road runner network)
$ip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($ip);
Now, i cant really explode this and find out if austin.rr.com is in this by using a . b/c the hostname will be like ..
cpe-70.114.32.4-austin.rr.com
And im not exactly sure of the delimiter to use for explode, so is their another way i could find out if host contained austin.rr.com?
Thanks