Jump to content

Archived

This topic is now archived and is closed to further replies.

q1234ask

how to redirect frames

Recommended Posts

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!

Share this post


Link to post
Share on other sites
No.  PHP is completely unaware of frames or any HTML structure you may use in your page. 

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.