Connecting Tech Pros Worldwide Help | Site Map

headers help

  #1  
Old July 17th, 2005, 06:42 AM
brendan
Guest
 
Posts: n/a
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

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


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Info from form shows in headers but not in body of email sadieslc answers 4 December 22nd, 2007 06:45 AM
XSL Grouping/Headers Help Needed. doubledangerbat answers 1 August 11th, 2006 09:05 AM
cgi script headers - help Ajay answers 2 July 18th, 2005 02:24 PM
command-line PHP and suppressing headers - help Phil Powell answers 5 July 17th, 2005 03:15 AM