<?
$ref=$_GET['referer'];
$width=$_GET['screenwidth'];
echo "$ref";
echo "$width";
?>

解决方案 »

  1.   

    $.GET[]
    接收。
    PHP5以上版本默认的要$.GET[]和$.POST[].
      

  2.   

    </head>
    <script src=llf/stat.php?referer="+escape(document.referrer)+"&screenwidth="+(screen.width)+"></script>
    <body><?
    $ref=$_GET['referer'];
    $width=$_GET['screenwidth'];
    echo "$ref";
    echo "$width";
    ?>
    </body>
    </html>
    什么都不显示啊???
      

  3.   

    </head>
    <script src=#?referer="+escape(document.referrer)+"&screenwidth="+(screen.width)+"></script>
    <body><?
    $ref=$_GET['referer'];
    $width=$_GET['screenwidth'];
    echo "$ref";
    echo "$width";
    ?>
    </body>
    </html>
    什么都不显示啊???