By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,890 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,890 IT Pros & Developers. It's quick & easy.

headers help

P: 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.

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"brendan" <br*****@srl.cam.ac.uk> wrote in message
news:ca**********@pegasus.csx.cam.ac.uk...
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/newp...etvar1=1&getva
r2=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.


Have a read here:

http://www.wdvl.com/Internet/Protoco...P/Request.html
HTH
Garp
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.