Category: PHP Examples
Remove slashes and the http from a URL – PHP Example
Simple PHP Snip, decodes an encoded url, strips away the end slash from the url, then remove the http:// from the URL, leaving only the domain.com to deal with.
Simple PHP Snip, decodes an encoded url, strips away the end slash from the url, then remove the http:// from the URL, leaving only the domain.com to deal with.