<?php /** * 入口 * */ $site_url = strtolower('http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/index.php')).'/shop/index.php'); @header('Location: '.$site_url);
<html> <head> <meta http-equiv="refresh" content="0.1;url=http://www.endv.cn"> <title></title> </head> <body> </body> </html>