直接用head location 跳转。
<?php header( 'Location: https://127.0.0.1/aaa.htm?a=1&b=33&c=1' ) ; ?>

解决方案 »

  1.   

    <?php 
    .........
    ?>里面应该写 php 的语法内容,不要写 HTML 的东西,如果非要写的话要写成下
    <?php 
    echo '<html>';
    ....
    echo '</html>';
    ?>
      

  2.   


    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>PHP如何做到自动发送GET请求?</title>
    </head>
    <body>
    <a id="url" href="https://127.0.0.1/aaa.htm?a=1&b=33&c=1">连接</a>
    <script type="text/javascript">
    window.location = document.getElementById("url").href;
    </script>
    </body>
    </html>
      

  3.   

    发送get请求?是pingback还是什么东西。
    可行的方案有:
    1. file_get_contents ,curl之类
    2. js 控制。
    3.隐藏的iframe或者image?没有测试。
      

  4.   

    js中获取a标签的href
    然后location.href= url
      

  5.   

     
    $().ready(function(){
      $("A").trigger("click");
    })