headers help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • brendan

    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("locatio n:http://www.mysite.com/subfolder/newpage.php?get var1=1&getvar2= 2");
    the location in the browser shows
    'http://www.mysite.com/redirect.php'
    even though the actual page is

    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.

  • Garp

    #2
    Re: headers help


    "brendan" <brendan@srl.ca m.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("locatio n: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:

    Mastering the Art of Online Magazine Creation



    HTH
    Garp


    Comment

    Working...