Home  >  Article  >  php教程  >  PHP中重新定向到另一个页面系列三---用脚本来实现

PHP中重新定向到另一个页面系列三---用脚本来实现

PHP中文网
PHP中文网Original
2016-05-25 17:15:421315browse

PHP中重新定向到另一个页面系列三---用脚本来实现

<?php
$url="http://www.phpuser.com";
echo"<!--<SCRIPT LANGUAGE="JavaScript">"; 
echo"location.href=&#39;$url&#39;"; 
echo"</SCRIPT>-->"; 
?>
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