Hello folks,
My question is : how do you split and get an URL to get his components? If you’re using all kind of functions, regular expressions or whatever, here is the save and original function you’ll need and it’ll do your job : parse_url() php function. Look how simple is:
<?php $url = "http://www.crivionweb.com/phpblog/"; print_r(parse_url($url)); ?>