PHP中的URL屏蔽? [英] URL masking in php?
本文介绍了PHP中的URL屏蔽?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个像这样的链接:
I have a link which is like this:
www.domain.com/index.php?var=string1&var2=string2
www.domain.com/index.php?var=string1&var2=string2
我想将网址屏蔽成类似以下内容的
I want to mask the url to become something like:
www.domain.com/index.php,或者最好是这样:
www.domain.com/index.php, or its best to be like this:
www.domain.com
www.domain.com
我尝试了google,发现了一些方法:
I tried google, I found some methods:
-
使用iframe
Using iframe
使用框架集
Mod_rewrite
Mod_rewrite
我正在使用php,IIS和mysql,我的服务器是Windows Server2003.哪种方法最适合我的服务器?以及我该如何屏蔽网址?
I am using php, IIS and mysql, my server is windows server 2003. Which method works best with my server? And how do I mask the URL???
推荐答案
这篇关于PHP中的URL屏蔽?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文