Home >Web Front-end >HTML Tutorial >html implementation jump_html/css_WEB-ITnose

html implementation jump_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:13:42829browse

Previously implemented with PHP:


$file="http://www.xyz.com";
$referer=$_SERVER[" HTTP_REFERER"];
$agent= strtolower($_SERVER["HTTP_USER_AGENT"]);


if(ereg("http://www.baidu.com/search/spider.htm ",$agent))
{


$content=file_get_contents($file);
echo $content;

exit;

}
?>

Can this be implemented using HTML?


Reply to the discussion (solution)

The client needs to use js to implement. Those spiders cannot execute js code, so the client cannot. Requires code or server settings

Yes! Put the following code between

Jump to 111.html in 5 seconds
Jie Tie Bar

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn