How about simply: echo " <SCRIPT> window.top.main.location= 'http://localhost/phase1/report.php''; </SCRIPT>";
? "Geoffrey Thompson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I was only able to find one reference to targeting a named frame on a > redirection, in the "MySQL Cookbook" by O'Reilly. According to the book, > this should work: > > header('Window-target: main'); > header('Location: http://localhost/phase1/report.php'); > > But, alas, it seems to only load up the current frame (which is not main). > > I also tried: > > header('Window-target: _top'); > header('Location: http://localhost/phase1/report.php'); > > to see if I could get it to wipe out the frameset and get back to the full > window, but it still loaded up in the current frame. > > Any help would be appreciated! > > Thanks, > > Geoff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php