Thats a good option, 1 I will certainly look into.

more questions then.

1.)Is there a way to do this within php ?

2.) how can I refresh my page generating the frame so that it will load the
new <FRAME SRC="<? $SOURCEVAR ?>">

Thanks, 

Matt.




-----Original Message-----
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 7:51 AM
To: Php-General
Subject: RE: [PHP] RE: sending multiple frames to different pages


You can use javascript.
If you're calling this from a frame, this is how it works:

parent.frames["first_frame" / zero based number].location.href =
"my_page.php";
parent.frames["second_name" / zero based number].location.href =
"my_page2.php";

Problem with this is that if user clicks Back button in browser, only
"second_frame" will go -1 in history. Better solution would be making
the pages creating frames to get variables for frames, so you could send
variables with page names to it.

<frameset>
        <frame src="<?=$FirstFrame?>>
        <frame src="<?=$SecondFrame?>>
</frameset>


Niklas

-----Original Message-----
From: Matthew Darcy [mailto:[EMAIL PROTECTED]] 
Sent: 1. maaliskuuta 2002 9:03
To: [EMAIL PROTECTED]
Subject: [PHP] RE: sending multiple frames to different pages





Hello all

I have just created a login script that works fine. At the moment I have
a pretty simple (I have coded this but I am trying to keep it simple to
explain what I am after

if login != ok then

generate HTML for error page

else

Generate HTML for ok page.

end;


what I want to do is

if login != ok then

generate HTML for error page

else

send browser frame1 to www.loginok.com
AND
send broswer frame2 to www.loginfeatures.com

end



can someone show me how to do the browser re-direction to multiple pages
please ?? Also can someone explain the different ways to send
frames/browser to a different page with PHP.

Thanks,

Matt


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to