Shortening a URL with preg_replace
What would be the easiest way to shorten a URL with preg_replace? Let's say a URL looks like this:
http:/ /someurl.com/file_1/something_else/new/file_2.html
I want to reduce it to […]
See original post by invalid@example.com (qwikad.com)
Leave a Reply
You must be logged in to post a comment.