Hi,
How can i say with Header("Location: /xxx.php"); to make a target="_top" since i'm working with frames, I have to refresh all.
Is there a way to do it?
Thx
You can't define a target with header(). All you can really do is pass variables in the filename and on the called page use $_GET to get the variables, and use that to define the frameset...
if you don't mind using javascript, you can try echoing some javascript like this:
echo "<SCRIPT LANGUAGE=\"JavaScript\"> window.top.location='foo.php'; </SCRIPT>";
or window.top.location.reload()
Well, you're sending a mangled enough header as it is. Please, please, PLEASE read the RFC before trying to use HTTP.
You must specify a full URI after Location:.