Created
June 12, 2013 08:49
-
-
Save omarqureshi/5763787 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
php > print_r(parse_url("http://somesite.blogg.se/whatever?cunt")); | |
Array | |
( | |
[scheme] => http | |
[host] => somesite.blogg.se | |
[path] => /whatever | |
[query] => cunt | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment