Created
June 12, 2017 15:00
-
-
Save douglascabral/06d8d3398bde8ac41ca7dbb403a7c288 to your computer and use it in GitHub Desktop.
Remove querystring from url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$url = preg_replace('/\?.*/', '', $url); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment