[insert_php]
if(!isset($_SESSION)){session_start();}
$ref=$_SERVER[‘HTTP_REFERER’];
$expl=explode(« / », $ref);
$_SESSION[‘refUrl’] = $ref;
$_SESSION[‘refTitle’] = str_replace(« _ », »& »,str_replace(« __ », »/ »,ucwords(str_replace(« -« , » « ,$expl[count($expl)-2]))));
[/insert_php]