这样的浏览路径是什么呢?
例如:http://www.baidu.com/s?wd=e
还有比如: http://www.baidu.com/?ws=注意红色的问号

解决方案 »

  1.   

    无需刻意实现,本来就是这样
    当 url中没有文件名时,访问的就是默认文档
    假定默认文档为 index.php
    http://localhost/s?wd=e 访问的就是 http://localhost/s/index.php?wd=e
    http://localhost/?wd=e 访问的就是 http://localhost/index.php?wd=e
      

  2.   

    意思是http://localhost/s?wd=e 
    这里的s可以使任意字符?结果都等于 http://localhost/s/index.php?wd=e?