12-23-2007, 02:27 PM
|
#7 (permalink)
|
|
The Addict
Join Date: Nov 2007
Posts: 264
Thanks: 2
|
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';
|
|
|
|