Jump to content


Photo

how to redirect frames


  • Please log in to reply
1 reply to this topic

#1 q1234ask

q1234ask
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 29 August 2006 - 02:59 PM

Hey, guys,

ask you a question:

Is there a way to redirect frames in php instead of javascript?

such as:
header ("Location: login.php");
            header(" top.frames[0].Location:front.htm");

or

echo "top.frames[0].location.href='front.htm'";
echo "top.frames[1].location.href='login.php'";

Thanks for any help!

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 29 August 2006 - 03:44 PM

No.  PHP is completely unaware of frames or any HTML structure you may use in your page. 

Info: PHP Manual





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users