Merge two urls using PHP

Last modified date

Comments: 0

This is a handy function for combining two urls. The urls could be strings or parts in an array (as you’d get from the parse_url function), or you can mix-and-match. Check out the examples in the docblock below to see what I mean.

loading gist...

Share

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.