$V['basePath']=$_SERVER['DOCUMENT_ROOT'].($_SERVER['HTTP_HOST']=='localhost' || ereg("^192.168",$_SERVER['HTTP_HOST'])?'/aamgallery.com/a_d_m_i_n':'/a_d_m_i_n'); require_once($V['basePath'].'/inc/top.php'); //header("Location: http://ffmaam.it/?id=$id"); header("Location: http://ffmaam.it".$_SERVER['REQUEST_URI']); header("Location: http://ffmaam.it/"); $V['basePath']=$_SERVER['DOCUMENT_ROOT'].($_SERVER['HTTP_HOST']=='localhost' || ereg("^192.168",$_SERVER['HTTP_HOST'])?'/aamgallery.com/a_d_m_i_n':'/a_d_m_i_n'); require_once($V['basePath'].'/inc/top.php'); if(!$id)$id=10; ?>