-2
我有会在许多网站为了把一个域到脚本
<?php
$id=$_GET[id];
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://site1.com/?user_id=86&res=".base64_encode("site2.ru")."&dn=50&delay=1&de=".base64_encode("://SITE_DOMAIN/folder/?id=".$id));
exit;
?>
如何加载的index.php文件可以将此代码被改变,如果我需要填写的地方“SITE_DOMAIN”与域名,哪个index.php加载?
不要使用短标记'<' - 这样做你所要求的烦恼?总是使用'<?php'。 –