Hi can someone give me hand with this please?
What's the best way to extract the extension from the url?
example:
$string="http://www.domain.co.u k/anypage.html"
In this example, I'd be looking for: "co.uk" but it could be "com",
"net" , or any other extension
Thanks
Ciarán
What's the best way to extract the extension from the url?
example:
$string="http://www.domain.co.u k/anypage.html"
In this example, I'd be looking for: "co.uk" but it could be "com",
"net" , or any other extension
Thanks
Ciarán
Comment