如何在php中隐藏url中的参数。 [英] How to hide parameter in url in php.

查看:491
本文介绍了如何在php中隐藏url中的参数。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设url是:event.php?id = 4。我想显示url像:event.php / id .....这个程序是什么.......没有在php中使用post方法或会话.......如果代码写得更好在.htaccess文件中

Suppose url is :event.php?id=4. i want to show url like: event.php/id.....what is the procedure for that.......without using post method or session in php.......Its better if code write in .htaccess file

推荐答案

隐藏-get-parameter-from-url [ ^ ]



检查并告诉我它是否有用..
hide-get-parameter-from-url[^]

Check and let me know it's helpful or not..


这篇关于如何在php中隐藏url中的参数。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆