<?
 $site= "12345678/abcdefg";
 $log=substr($site,strlen($site)-7,7);
 echo "$log";
 ?>
Bu işini görür umarım