Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 17th, 2005, 06:42 AM
brendan
Guest
 
Posts: n/a
Default headers help

hi ... I want to force the browser to display the query string that a
header points it to.
at the moment
where the php document is located at http://www.mysite.com/redirect.php
and it reads
header("location:http://www.mysite.com/subfolder/newpage.php?getvar1=1&getvar2=2");
the location in the browser shows
'http://www.mysite.com/redirect.php'
even though the actual page is
http://www.mysite.com/subfolder/newp...r1=1&getvar2=2
problem is that a couple of scripts within that page call a javascript
refresh ... which because its clientside reload redirect.php and NOT
newpage.php

anyone know how to do this?
cheers
brendan.

  #2  
Old July 17th, 2005, 06:42 AM
Garp
Guest
 
Posts: n/a
Default Re: headers help


"brendan" <brendan@srl.cam.ac.uk> wrote in message
news:ca4169$gt5$1@pegasus.csx.cam.ac.uk...[color=blue]
> hi ... I want to force the browser to display the query string that a
> header points it to.
> at the moment
> where the php document is located at http://www.mysite.com/redirect.php
> and it reads
>[/color]
header("location:http://www.mysite.com/subfolder/newp...etvar1=1&getva
r2=2");[color=blue]
> the location in the browser shows
> 'http://www.mysite.com/redirect.php'
> even though the actual page is
> http://www.mysite.com/subfolder/newp...r1=1&getvar2=2
> problem is that a couple of scripts within that page call a javascript
> refresh ... which because its clientside reload redirect.php and NOT
> newpage.php
>
> anyone know how to do this?
> cheers
> brendan.
>[/color]

Have a read here:

http://www.wdvl.com/Internet/Protoco...P/Request.html


HTH
Garp


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles