View Single Post
Old 12-23-2007, 02:27 PM   #7 (permalink)
TlcAndres
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default

No it helps, I just need to rethink my regex. thanks salathe

on second thought, he could just use gethostbyname()..

(gethostbyname($domain) !== $domain) ? $domain : 'google.com';
TlcAndres is offline  
Reply With Quote