Re: url hide

From: Date: Tue, 23 Jan 2001 08:15:20 +0000
Subject: Re: url hide
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36149@lists.php.net to get a copy of this message
To follow up: This is definitely the most low-tech (read reliable) way to do it. Just to clarify what Jørg is saying, create a frameset with two horizontal frames. The upper frame should be set to a height of "0", or "*", whatever your preference. The bottom frame should be given a height of "100%". Turn off borders etc. on your frames, and the casual user will not see any indication that there is a frameset. You can also use this technique to maintain JavaScript state between pages -- letting the upper frame store the objects values as you move around from page to page. But this should definitely cloak the true nature of the URL that is being seen. However, be aware that people will have problems with bookmarks to these pages. You can, if you want, create a "self-framing" javascript around bottom frame, such that if the bottom frame is loaded outside the cloaking frameset, it creates a frameset from scratch around itself. That's most elegant. Kristofer At 11.40 +0100 01-01-22, Jørg V. Bryne poked the keyboard as follows:
I saw this done with a frameset recently. The domain blah.com had a frameset which opened the real page (at www.hotel.com/blahblah ) in a frame. -J ----- Original Message ----- From: "AJDIN BRANDIC" <abrandic@coventry.ac.uk> To: <php-general@lists.php.net> Sent: Monday, January 22, 2001 11:30 AM Subject: [PHP] url hide
Perhaps not related to php but I was wandering, is it possible to hide site's real url and replace it with something else (some other URL). ie. someone clicks on a link on www.blah.co.uk which takes the user to an designated area (ie. /house-search/) on www.foo.co.uk. I want the user still to see www.blah.co.uk. This is just for aesthetic reasons since ones the user finishes the search for houses (on
www.foo.co.uk/house-search/) he/she will return to www.blah.co.uk. -- ______________________________________ Kristofer Widholm Web Pharmacy webpharmacy@brokenhill.net 191 Grand Street, Brooklyn NY 11211 718.599.4893 ______________________________________


« previous php.general (#36149) next »