Re: [PHP] url hide
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" <[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. -- __ Kristofer Widholm Web Pharmacy [EMAIL PROTECTED] 191 Grand Street, Brooklyn NY 11211 718.599.4893 __ -- 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 , e.g. http://www.foo.co.uk/house-search/> 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]
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
There is a very interesting article on this over at the Register. You can hide the URL by converting the dot delimited IP address to hex and then back to decimal. The browser will still interpret it. Therefore, yahoo.com can be interpreted as: http://3631443189 Go ahead try it, it's pretty cool. I wrote a program which takes the URL, gets the IP, and then converts it. If anyone is interested in the code, shoot me an email at [EMAIL PROTECTED] -Original Message- From: Teodor Cimpoesu [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 8:17 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] url hide Hi AJDIN! On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: > 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. > have a look on how it is implemented on http://www.ravantivirus.com. [0 size frame ] Done it recently :) -- teodor -- 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
Hi AJDIN! On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: > 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. > have a look on how it is implemented on http://www.ravantivirus.com. [0 size frame ] Done it recently :) -- teodor -- 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 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]
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 -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: [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]
RE: [PHP] url hide
http://www.foo.co.uk"> your browser does not support frames - click http://www.oozoo.co.uk">here to go to http://www.blah.co.uk">http://www.blah.co.uk > -Original Message- > From: Jørg 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
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
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
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] 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]