I am trying to include 2 html files, but only the first one is included. One is included by echoing it as a frame, and the other is included by "include()". I have also tried including them both with "include()", and it doesn't make any difference at all". It will successfully include either one, but not both. There are only 99 <worldnumberhere>.htm files, but if you enter a number above 99, it doesn't give any errors. Here is my code for index.php:
<?php
//Define constants
define("tehquote","\"");
define("html_extension",".htm");
//Include needed files
include("constants.php");
include("functions.php");
//Begin layout coding
echo("<meta http-equiv=".tehquote."Page-Enter".tehquote." content=".
tehquote."blendTrans(Duration=.1)".tehquote.">"); //Prevent blanking when loading another page in IE
echo("<html>"); //Start html coding
echo("<body link=green vlink=purple alink=red bgcolor=".
tehquote.back_color.tehquote." oncontextmenu=".tehquote.
"return false".tehquote.">"); //Set background color and link colors, and make it slightly harder to view the source
echo("<font color=".tehquote.font_color.teh_quote.">".$bold); //Set font color, and make bold if wanted
//Begin the main part of the script
echo("<IFRAME src=".tehquote."linkpanel.html".tehquote.
" align=right>Your browser does not support frames</IFRAME>"); //Display the side menu
echo("<frame src=".tehquote.$HTTP_GET_VARS[world].html_extension."\"".
"title=".tehquote."Runescape".tehquote."></frame>"); //Display the runescape applet
//Close tags
echo("</font>"); //Close the font tag
echo("</body>"); //Close the body tag
echo("</html>"); //End parsing of html code
?>
Example: http://elitescape.net/services/rs/index.php?world=77