remove GET parameter in URL after processing is finished(not using POST), PHP

后端 未结 4 871
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-15 06:15

I have url like this http://localhost/join/prog/ex.php

When i use GET method the url address like this http://localhost/join/prog/ex.php?name=MEMO

4条回答
  •  北海茫月
    2020-12-15 06:38

    If you're using apache, consider using a .htaccess file with mod_rewirte. Here a quickstart. I think this result can be obtained on iis as well with web.config file

提交回复
热议问题