$ship_value = $ship; 
echo $ship_value;

解决方案 »

  1.   

    $ship_value = $_GET['ship'];
      

  2.   

    我用上面的2种方法都可以啊   www.****.com/test.php?ship=123
    你测试看看<head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head><body bgcolor="#FFFFFF" text="#000000">
    <?php 
    $ship_value = $HTTP_GET_VARS['ship']; 
    echo $ship_value; 
    echo "<br />"; 
    echo $_GET['ship'];
    ?>
    </body>
    </html>
      

  3.   

    只有 julychina(九品代码工) 的有用,多谢
    不过我不知道为什么 $HTTP_GET_VARS['ship']和  $ship_value 都不能接收到呢
      

  4.   

    你的PHP5.0支持长格式么?
    不支持就只能用 _GET['xx'];_POST['']等中格式的。