How to find the exact domain name extension (in PHP)
Posted by Stan in
General on 02 17th, 2009 |
2 Comments
For one of my projects I had to find the exact domain name extension using a php script. While, this doesn’t seems too hard to do for a simple domain name (i.e domain.com) by just exploding the domain string and separating the two arrays items by the dot character, I had to do it a little bit more...