Forum Moderators: open

Message Too Old, No Replies

IFRAME Problems with PHP login

         

idyll

7:44 pm on Jul 4, 2004 (gmt 0)

10+ Year Member



Hi,
Basically, I've got a site based on PHP. I have created an index.html page which contains an iframe which displays the PHP. This way, the index.htm page is only loaded once, allowing me to create quite a graphically intensive header and side-bar and not have to worry about slow download speeds for the user.
The iframe works fine, but I am unable to use the "login" bit on the PHP site inside the iframe. I'm pretty new to PHP, so did a google search, but couldn't find any solutions / work arounds to this problem.
Cheers in advance for any suggestions.

asquithea

8:00 pm on Jul 4, 2004 (gmt 0)

10+ Year Member



Personally, I'd ditch the IFrame. So long as you're not forcing the client browser to dump cache, I don't see any reason why it won't simply load the graphics from the local disk.

Just my opinion, anyway.

idyll

11:15 am on Jul 7, 2004 (gmt 0)

10+ Year Member



Yea thats what I think I'm going to do.
Is there any way to use a SSI to do to the equivalent of the iframe that I have at the moment?

<iframe src="news.htm"
width="99%" height="99%"
name = "update"
frameborder = "0"
align="center">
<p><a href="index.htm">If you are using an old browser,
click here</a></p>
</iframe> <br>