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.
精彩评论