Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: HTML mainframe
08-12-2013, 09:56 AM #1
- Join Date
- Mar 2012
- Thanked 0 Times in 0 Posts
When I run my .php locally, the mainframe works perfectly but when I upload it onto my website hosted by hostgator, the mainframe is not working anymore.
Run in local machine:
Run in web hosted by hostgator:
It doesn't show up in mainframe but redirect me to the application form that should be displayed in mainframe:
I really can't figure out what's wrong with it. Can anyone help please ?
Provided with the codes below :
<title>S3UC Student Application</title>
<frameset rows="100,*" frameborder="YES" border="0" framespacing="0" >
<frame name="topFrame" scrolling="NO" noresize src="banner.php" >
<frameset cols="148,*" frameborder="YES" border="0" framespacing="0" >
<frame name="leftFrame" scrolling="NO" noresize src="links.php">
<frame name="mainFrame" src="">
Your Browser doesnt support frames.
<TABLE width="100%" bgColor=#0080ff>
<TD><STRONG><FONT color=#fffff><STRONG>Click on the links below to select application form. </FONT></STRONG>
<TD><A href="USapplication.php" target="mainFrame"><STRONG>
<FONT color=#ffff00>Application - US </FONT></STRONG></A></TD></TR>
<TD><A href="CNapplication.php" target="mainFrame"><STRONG><FONT color=#ffff00>Application - CN</FONT></STRONG></TD></TR>
<TD><A href="logout.php"><STRONG><FONT color=#ffff00>Logout</FONT></STRONG></TD></TR>
Last edited by VIPStephan; 08-12-2013 at 10:06 AM. Reason: corrected PHP BB tags
08-12-2013, 10:09 AM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 974 Times in 947 Posts
If I were you I would refrain from using frames altogether. This is a prehistoric coding practice (in WWW time) and does not conform to contemporary approaches (as is using tables for layout but that’s worth another thread). If all you want is to have the same menu appear on all pages then use PHP includes.