AFAIK the only way you can keep the address in the title bar is to use a
frameset - the address in the address bar will be that of the frameset
itself, as will the window title.
if you want to change the window title I guess you would have to do this
using javascript.
"DeathStorm " <jaa20@kent.ac. uk> wrote in message
news:blk1e0$p21 $1@athena.ukc.a c.uk...[color=blue]
> How do i redirect to a different page without out changeing the address in
> the address bar but allowing the title to change?
>
>[/color]
In article <blk1e0$p21$1@a thena.ukc.ac.uk >, DeathStorm wrote:[color=blue]
> How do i redirect to a different page without out changeing the address in
> the address bar but allowing the title to change?[/color]
You can't. HTML has no concept of an "address bar"; what the browser
displays in it (if it even has one) is entirely up to it. Most browsers
with an address bar will display the URL of the frameset they are viewing,
so you should be able to keep it constant using frames, though to vary the
page title you'll have to use something like JavaScript.
A better question would be why you would want to do this in the first place.
Attempts at disguising the true URL of a particular resource can always be
circumvented, and are very annoying to users who may want to bookmark a
page for future reading.
--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you
let me explain more. I am setting up an intranet yep page at uni. We are
give own address and it uses are user area space. I wish to therefore host
it on my computer in my room. This has to be done using my ip address which
i do not want others to now. Is there a way of doing with php so the new
address is not shown?
DeathStorm wrote:[color=blue]
>
> let me explain more. I am setting up an intranet yep page at uni. We are
> give own address and it uses are user area space. I wish to therefore host
> it on my computer in my room. This has to be done using my ip address which
> i do not want others to now. Is there a way of doing with php so the new
> address is not shown?[/color]
If you want them to connect to your box, they must know its IP address.
On Fri, 3 Oct 2003, Andy Fish wrote:
[color=blue]
> AFAIK the only way you can keep the address in the title bar is to use a
> frameset[/color]
Yeah, and the way to cure an annoying itch in the foot would be to
point a loaded pistol at it and pull the trigger. It's guaranteed
to cure the itch (but it may have undesirable side effects...).
--
This posting is crafted by hand and may contain small
blemishes. Produced in an area where nuts are present.
In article <blk8kn$rp9$1@a thena.ukc.ac.uk >, DeathStorm wrote:[color=blue]
> let me explain more. I am setting up an intranet yep page at uni. We are
> give own address and it uses are user area space. I wish to therefore host
> it on my computer in my room. This has to be done using my ip address
> which i do not want others to now. Is there a way of doing with php so the
> new address is not shown?[/color]
I don't know anything about PHP, but my guess is still no. If you want to
restrict access to the site to the internal network only and are using
Apache, then use an .htaccess file.
--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you
> let me explain more. I am setting up an intranet yep page at uni. We are[color=blue]
> give own address and it uses are user area space. I wish to therefore host
> it on my computer in my room. This has to be done using my ip address[/color]
which[color=blue]
> i do not want others to now. Is there a way of doing with php so the new
> address is not shown?[/color]
To hide the IP address it has to be the intranet web server that is handling
all the accesses to your own computer. Ideally this would be implemented by
configuring the intranet web server as a reverse proxy but I should imagine
this option isn't available to you.
This means the only option left to you would be by some form of server side
scripting and PHP will certainly be able to do it for you, though quite how
many hoops you will have to jump through is another matter. http://forums.devshed.com/archive/5/2003/05/2/61388 (picked largely at
random from the net) hints at directions you could be looking.
Comment