English 中文(简体)
装上一页而无需改动
原标题:loading a page without changing the url

I have too many RewriteRule inside .htaccess.

现在,我想删除这些<代码>Rewrite Rule,并利用php装载或调整我的联系。

为此,请见<代码>header,但在使用时,我的原始浏览器正在发生变化。

For example: My original link: http://test.com/something/someID, and when i use header, it change to : http://test.com/page.php?id=

底层一线需要像真象(vbulletin)这样的东西来管理我的联系,而不使用<代码>Rewrite Rule,但当然还有以下代码在.htaccess内,以便把我的所有链接转至某个特定网页。

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php [L,QSA]
最佳回答

没有任何头脑。 违约后转头的链接保持不变。 (即使服务器转机,也转机到客户。) 因此,你需要将其编入索引。 php,但具有原路线的GET值。

因此

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f    #If requested filename is not a file
RewriteCond %{REQUEST_FILENAME} !-d    #If requested filename is not a directory
RewriteRule ^(.+)$ index.php?route=$1 [L,QSA]

http://code>example.com/this/is/a/test? 之后,你可以按你的指数检查。 但是,你希望根据<代码>_GET[航道]进行存档和重新登记。

问题回答

如果是你要求的话,不要确切地说:

您可以使用《国际投资法》一类的班子,来获得国际投资学会的单一部分:

URI 类别 资料来源:

URI Class Description

现在,你可以与某些阶层一道在申请中放弃做些什么,而不必把它 hard入。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签