advanced code snippet search
fackz on 04/09/09
url httpreffer
04/09/09 03:34pm
1 person have marked this snippet as a favorite
fackz
<?php// URL:$site = "http://www.site.com.br/teste";// SPLITS URL FROM HTTP://:$url = explode("http://", $site);// CLEAN THE RESULT , LEAVE THE MAIN ADDRESS:$site = dirname($url[1].'<br>');// SHOW:echo($site);?>
Report this snippet Tweet
Comment:
You need to login to post a comment.