开发者

PHP redirect, but keep the same url (to hide it from user)

is there a 开发者_C百科way to redirect in PHP to another server, but keep the same url, so the user is not aware of?

thanks in advance! kriscom


You should be looking into apaches mod_proxy module to achieve this.


Perhaps it might be easier to configure your server for URL rewriting?

  • Apache mod_rewrite

  • IIS


You could "proxy" requests to another server, but you'll need to worry about urls in the response from another server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜