正在加载图片...
网页间参数的传递 1、使用 Javascript实现重定向 <script> window.location=http://www.baidu.com/s?wd=session </script> 2、使用PHP实现重定向 PHP提供的 header(" Location:URL)函数通过响应头中添加重定向 头信息从而实现重定向功能。 <?php header("locationhttp:/www.baidu.com/s?wd=session ?>网页间参数的传递  1、使用javascript实现重定向  <script>  window.location='http://www.baidu.com/s?wd=session';  </script>  2、使用PHP实现重定向  PHP提供的header(“Location:URL”)函数通过响应头中添加重定向 头信息从而实现重定向功能。  <?php  header(“Location:http://www.baidu.com/s?wd=session”)  ?>
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有