fackz on 04/09/09
Last Edited at 04/09/09 03:34pm
<?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.