实现自动跳转的三种方法
2018-07-29 本文已影响0人
码课sir
方法一
<?php
header('location:http://地址/文件.后缀名');
方法二
<script>
location.href='http://地址/文件.后缀名';
</script>
方法三
<script>
location.assign('http://地址/文件.后缀名');
</script>
方法一
<?php
header('location:http://地址/文件.后缀名');
方法二
<script>
location.href='http://地址/文件.后缀名';
</script>
方法三
<script>
location.assign('http://地址/文件.后缀名');
</script>