<?php
show_source(__file__);
$removeChar = ["https://", "http://"];
$seourl = 'http://github.com/asdasd/asd';
$seourl = str_replace($removeChar, "", $seourl);
$http_referer = preg_split('#/#', $seourl);
echo '<br/>';
print_r($seourl);
echo '<br/>';
echo (array_shift($http_referer));
?>