[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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] url hide
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" [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] url hide
OK, I don't have access to the server (except ftp). All I can use is PHP or JavaScript. I just thought that I could use some thing that will just hide it. Like that NoRightClick javascript script where if you try to view the source code of a page it stops you but you can still use View/Source Code option on your main menu to view the code. Thanks Ajdin On Mon, 22 Jan 2001, bard wrote: If you're using apache, try mod_rewrite. I'm pretty sure you have to run something on the server side to do this. JavaScript runs client-side and will therefore be useless. Cheers, Brad On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: 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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] url hide
html head /head frameset rows="100%,*" border="0" framespacing="0" frameborder="0" frame src="http://www.foo.co.uk" /frameset noframes body your browser does not support frames - click a href="http://www.oozoo.co.uk"here/a to go to a href="http://www.blah.co.uk"http://www.blah.co.uk/a /body /noframes /html -Original Message- From: Jrg V. Bryne [mailto:[EMAIL PROTECTED]] Sent: 22 January 2001 10:40 To: AJDIN BRANDIC; [EMAIL PROTECTED] Subject: Re: [PHP] url hide 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" [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] url hide
I just asked a similar question two hours ago, and would like to express my interest in this same question. Sorry it for a no answer response. AJDIN BRANDIC wrote: 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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
AW: [PHP] url hide
you can do that by using a frames site that just has 1 frame(=the 'hidden' url). this is very weak , because the user just has to take a look at page properties to see the real URL. another aproach would be to wrap all access to your server through apache 404 to a php that opens the desired url with fopen and then parses the html for a href, etc and fixes them to links to your desird address. i doubt that this is a good idea for a heavy-traffic site or in case you try to steal some content that the admin of the other server will not notice that there are a lot of requests from your servers ip. sebastian -Ursprungliche Nachricht- Von: Eric Dahnke [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. Januar 2001 12:24 An: [EMAIL PROTECTED] Betreff: Re: [PHP] url hide I just asked a similar question two hours ago, and would like to express my interest in this same question. Sorry it for a no answer response. AJDIN BRANDIC wrote: 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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: AW: [PHP] url hide
On Mon, 22 Jan 2001, Sebastian Stadtlich wrote: you can do that by using a frames site that just has 1 frame(=the 'hidden' url). this is very weak , because the user just has to take a look at page properties to see the real URL. This I do not mind since most users are not very knowledgable about internet. The problem here is that web users will be comming from any site to my client's designated page. Not all sites have frames. another aproach would be to wrap all access to your server through apache 404 to a php that opens the desired url with fopen and then parses the html for a href, etc and fixes them to links to your desird address. i doubt that this is a good idea for a heavy-traffic site or in case you try to steal some content that the admin of the other server will not notice that there are a lot of requests from your servers ip. Not really, since they will be coming to my client's site with permission. I want others who are using features on my client's site to feel they are still on their site of origin (what ever that might be). Thanks Ajdin sebastian -Ursprungliche Nachricht- Von: Eric Dahnke [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. Januar 2001 12:24 An: [EMAIL PROTECTED] Betreff: Re: [PHP] url hide I just asked a similar question two hours ago, and would like to express my interest in this same question. Sorry it for a no answer response. AJDIN BRANDIC wrote: 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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: Re: [PHP] url hide
Put the url you want hidden in a frame. Chris On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: Date: Mon, 22 Jan 2001 10:44:06 + (GMT) To: [EMAIL PROTECTED] From: AJDIN BRANDIC [EMAIL PROTECTED] Subject: Re: [PHP] url hide OK, I don't have access to the server (except ftp). All I can use is PHP or JavaScript. I just thought that I could use some thing that will just hide it. Like that NoRightClick javascript script where if you try to view the source code of a page it stops you but you can still use View/Source Code option on your main menu to view the code. Thanks Ajdin On Mon, 22 Jan 2001, bard wrote: If you're using apache, try mod_rewrite. I'm pretty sure you have to run something on the server side to do this. JavaScript runs client-side and will therefore be useless. Cheers, Brad On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: 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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] url hide
Greetings, the only way which comes to my mind now is to use a stub FRAMESET, e.g. FRAMESET ROWS="100%,0" FRAME NAME=main SRC=http://www.foo.co.uk/house-search/ FRAME NAME=dummy SRC=about:blank /FRAMESET this works 100%, though could sound weird at first. HTH, -- Vahan Yerkanian Email: [EMAIL PROTECTED] Leading Web Developer / Designer Phone: (374) 158-2723 Web Development DepartmentFax: (374) 128-5082 ARMINCO Global Telecommunications http://www.arminco.com Eric Dahnke wrote: I just asked a similar question two hours ago, and would like to express my interest in this same question. Sorry it for a no answer response. AJDIN BRANDIC wrote: 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. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]