Header(Location) query

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have a split frame which holds in the upper part a php file with a header
location function, which opens a new file (lower.php).  I'm trying to get
the header function to open lower.php in the lower half of the frame,

header("Location: lower.php TARGET='lowframe')

with out the Target setting, it opens lower.php in the upper part (ie it
replaces its self), but with the TARGET statement it can't find the file.

Is this do able? or is the fact that the TARGET= is HTML which messes the
header up.


Re: Header(Location) query

The header function only takes an absolute URL (so no target). Try using
Javascript instead.



Quoted text here. Click to load it

Re: Header(Location) query

On Mon, 1 Aug 2005 15:14:33 +0000 (UTC), "Stephen Preston"

Quoted text here. Click to load it

 No, not with HTTP headers.

Quoted text here. Click to load it


 Javascript would appear to be the solution.

<http://www.andyhsoftware.co.uk/space Space: disk usage analysis tool

Site Timeline