Jump to content

Shade.Alchemist

Members
  • Posts

    23
  • Joined

  • Last visited

    Never

Posts posted by Shade.Alchemist

  1. A good alternative is internet explorer. Simply write in: ftp://yourwebsite.com . Make sure you have your option on, "Allow FTP pages shown up" in the -> Tools ->Options.

     

    The best one I have ever used was the FTP that my webserver provider provides, Godaddy.com. They have this javascript one that never fails. Check if you host has one to provide you.

    Godaddy sucks. Cute FTP owns.

     

    That may well be, but we need you to qualify that. Why does Godaddy suck, and why does Cute FTP "own"?

    Well, I guess it'd be more accurate to say that it's just my thoughts on how they are... I really don't like the cpanel of godaddy, the way you have to do everything most stuff through it's (imo) crappy cpanel is just a hassle... As for Cute FTP, I just like it :P It's easy to use, can do everything you need it to, etc.

  2. A good alternative is internet explorer. Simply write in: ftp://yourwebsite.com . Make sure you have your option on, "Allow FTP pages shown up" in the -> Tools ->Options.

     

    The best one I have ever used was the FTP that my webserver provider provides, Godaddy.com. They have this javascript one that never fails. Check if you host has one to provide you.

    Godaddy sucks. Cute FTP owns.

  3. Thanks alot, it's increased my understanding of it, but I still get the same damn problem... It still says the file doesn't exist.

     

    untitledjm0.th.png

     

    Am I missing something?

     

    index.php is in the root directory... /public_html/index.php

     

    This

    Is

    Confusing

  4. I don't think I'm going to fast... I've got all the info and content, I just need to get the inclusion working. I obviously don't have the knowledge to do this however, I'm reading into php but I cannot find a solution as I am still pretty new to the whole concept. Sorry if I'm not very helpful...

     

    So anyway, I still have it appearing to not find the files... and how much of the file tree do you need to know? I'll give what I think you might need... Just ask if you need more.

     

    >content

    -games

    -media

    -profiles

    -staff

    >images

    >media

     

    The inclusion code at the moment is this

    <?php
    $include = "home.php";
    $id = $_GET['id'];
    $cat = $_GET['cat'];
    $show = $_GET['show'];
    if (isset($id)) {
    if (isset($cat)) { $include = "$id/$cat/$show.php"; }
    }
    if ($id == "content") { $include = "$id/$show.php"; }
    if (!file_exists($include)) { $include = "404.php"; }
    require_once($include);
    ?>

  5. I replaced

    <?php
    $include = "home.php";
    $id = $_GET['id'];
    $show = $_GET['show'];
    if (isset($id)) { 
    if ($id == "content") { $include = "$id/$show.php"; }
    }
    if (!file_exists($include)) { $include = "404.php"; }
    require_once($include);
    ?>

    With

    <?php
    $include = "home.php";
    $id = $_GET['id'];
    $show = $_GET['show'];
    if ($id == "content") { $include = "$id/$cat/$show.php"; }
    if (isset($id)) { 
    if ($id == "content") { $include = "$id/$show.php"; }
    }
    if (!file_exists($include)) { $include = "404.php"; }
    require_once($include);
    ?>

     

    Yet now I get page not found even though the the file is in the specified directory :S

  6. Was playing around with the code and things seem to work now...

    I'll post the code in case some of you guys are just curious.

     

    <HTML>
    <HEAD><link href="style2.css" rel="stylesheet" type="text/css">
    <TITLE>Eternal Tales</TITLE>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    </HEAD>
    <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
    <div align="center">
    <TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>
    <TR>
    	<TD background="images/ETv2_01.png" WIDTH=67 HEIGHT=51 ALT=""><a href="/"><img src="images/ETv2_01.png"></a></TD>
    
    	<TD class="talesnews"background="images/ETv2_02.png" WIDTH=68 HEIGHT=51 ALT=""><a href="http://www.divine-infinity.com/forums/"><img src="images/ETv2_02.png"></a></TD>
    
    	<TD background="images/ETv2_03.png" WIDTH=58 HEIGHT=51 ALT=""><a href="?id=content/tales.php"><img src="images/ETv2_03.png"></a></TD>
    
    	<TD COLSPAN=3 background="images/ETv2_04.png" WIDTH=96 HEIGHT=51 ALT="">
    <a href="link"><img src="images/Contactbutton.png"></a></TD>
    
    	<TD COLSPAN=10 background="images/ETv2_05.png" WIDTH=511 HEIGHT=51 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_06.png" WIDTH=800 HEIGHT=68 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 ROWSPAN=6 background="images/ETv2_07.png"
    	 WIDTH=563 HEIGHT=156 ALT=""></TD>
    
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_08.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    
    	<TD COLSPAN=2 ROWSPAN=6 background="images/ETv2_09.png" WIDTH=12 HEIGHT=156 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_10.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_11.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a> 
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_12.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_13.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_14.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_15.png" WIDTH=800 HEIGHT=16 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 class="affiliate" background="images/ETv2_16.png"
    	 WIDTH=800 HEIGHT=25 ALT="">
    
    <?php 
    
    include('Edit-WebAff.php'); 
    
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_17.png" WIDTH=800 HEIGHT=28 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 ROWSPAN=7 class="nav" valign="top" background="images/ETv2_18.png"
    	 WIDTH=258 HEIGHT=357 ALT="">
    
    <?php 
    
    include('Edit-Navigation.php'); 
    
    ?>
    
    </TD>
    
    	<TD ROWSPAN=7 background="images/ETv2_19.png" WIDTH=3 HEIGHT=357 ALT=""></TD>
    
    	<TD COLSPAN=11 background="images/ETv2_20.png" WIDTH=539 HEIGHT=3 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=2 background="images/ETv2_21.png" WIDTH=45 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_22.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_23.png" WIDTH=1 HEIGHT=44 ALT=""></TD>
    
    	<TD COLSPAN=2 background="images/ETv2_24.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_25.png" WIDTH=1 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_26.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD COLSPAN=2 background="images/ETv2_27.png" WIDTH=37 HEIGHT=44 ALT=""></TD>
    
    	<TD ROWSPAN=7 background="images/ETv2_28.png" WIDTH=2 HEIGHT=395 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=2 ROWSPAN=3 background="images/ETv2_29.png" WIDTH=45 HEIGHT=89 ALT=""></TD>
    
    	<TD COLSPAN=6 background="images/ETv2_30.png" WIDTH=455 HEIGHT=3 ALT=""></TD>
    
    	<TD COLSPAN=2 ROWSPAN=3 background="images/ETv2_31.png" WIDTH=37 HEIGHT=89 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD> <a href="link"><img src="images/ETv2_32.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    	<TD background="images/ETv2_33.png" WIDTH=1 HEIGHT=83 ALT=""></TD>
    
    	<TD COLSPAN=2> <a href="link"><img src="images/ETv2_34.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    	<TD background="images/ETv2_35.png" WIDTH=1 HEIGHT=83 ALT=""></TD>
    
    	<TD> <a href="link"><img src="images/ETv2_36.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=6 background="images/ETv2_37.png" WIDTH=455 HEIGHT=3 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 background="images/ETv2_38.png" WIDTH=537 HEIGHT=44 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 class="content" valign="top" background="images/ETv2_39.png"
    	 WIDTH=537 HEIGHT=177 ALT="">
    
    <?php
    $include = "home.php";
    $id = $_GET['id'];
    $show = $_GET['show'];
    if (isset($id)) { 
    if ($id == "content") { $include = "$id/$show.php"; }
    }
    if (!file_exists($include)) { $include = "404.php"; }
    require_once($include);
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=15 background="images/ETv2_40.png"
    	 WIDTH=798 HEIGHT=41 ALT="">
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_41.png" WIDTH=800 HEIGHT=10 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 class="footer" background="images/ETv2_42.png"
    	 WIDTH=800 HEIGHT=48 ALT="">
    <?php 
    
    include('Edit-Footer.php'); 
    
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD background="images/spacer.gif" WIDTH=67 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=68 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=58 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=65 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=3 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=28 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=17 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=151 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=105 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=46 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=151 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=27 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=10 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=2 HEIGHT=1 ALT=""></TD>
    </TR>
    </TABLE>
    </div>
    </BODY>
    </HTML>

     

    Thanks for the help everybody, I appreciate it alot :)

     

    Just one thing...

     

    ?id=content/staff&show=tenks

    This doesn't seem to show the intended file, where as the one below does...

    ?id=content&show=crew

     

    How do you fix it? I'm pretty sure I've just misplaced something in the first one.

  7. The this is, even when viewing the index.php I'm getting the error:

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 160

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 160

     

    Warning: main(): Failed opening '.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 160

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 164

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 164

     

    Warning: main(): Failed opening '.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 164

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 168

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 168

     

    Warning: main(): Failed opening '.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 168

  8. Thanks for that, fixed the unexpected variable problem, but I still have this in the main page :( :

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 160

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 160

     

    Warning: main(): Failed opening '.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 160

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 164

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 164

     

    Warning: main(): Failed opening '.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 164

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 168

     

    Warning: main(.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 168

     

    Warning: main(): Failed opening '.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 168

     

    160: include("$id.php");

     

    164: include ($id . '.php');

     

    168: include ($_GET['id'] . '.php');

  9. Here you go...

    <HTML>
    <HEAD><link href="style2.css" rel="stylesheet" type="text/css">
    <TITLE>Eternal Tales</TITLE>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    </HEAD>
    <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
    <div align="center">
    <TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>
    <TR>
    	<TD background="images/ETv2_01.png" WIDTH=67 HEIGHT=51 ALT=""><a href="/"><img src="images/ETv2_01.png"></a></TD>
    
    	<TD class="talesnews"background="images/ETv2_02.png" WIDTH=68 HEIGHT=51 ALT=""><a href="http://www.divine-infinity.com/forums/"><img src="images/ETv2_02.png"></a></TD>
    
    	<TD background="images/ETv2_03.png" WIDTH=58 HEIGHT=51 ALT=""><a href="?id=content/tales.php"><img src="images/ETv2_03.png"></a></TD>
    
    	<TD COLSPAN=3 background="images/ETv2_04.png" WIDTH=96 HEIGHT=51 ALT="">
    <a href="link"><img src="images/Contactbutton.png"></a></TD>
    
    	<TD COLSPAN=10 background="images/ETv2_05.png" WIDTH=511 HEIGHT=51 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_06.png" WIDTH=800 HEIGHT=68 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 ROWSPAN=6 background="images/ETv2_07.png"
    	 WIDTH=563 HEIGHT=156 ALT=""></TD>
    
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_08.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    
    	<TD COLSPAN=2 ROWSPAN=6 background="images/ETv2_09.png" WIDTH=12 HEIGHT=156 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_10.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_11.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a> 
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_12.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_13.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_14.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_15.png" WIDTH=800 HEIGHT=16 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 class="affiliate" background="images/ETv2_16.png"
    	 WIDTH=800 HEIGHT=25 ALT="">
    
    <?php 
    
    include('Edit-WebAff.php'); 
    
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_17.png" WIDTH=800 HEIGHT=28 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 ROWSPAN=7 class="nav" valign="top" background="images/ETv2_18.png"
    	 WIDTH=258 HEIGHT=357 ALT="">
    
    <?php 
    
    include('Edit-Navigation.php'); 
    
    ?>
    
    </TD>
    
    	<TD ROWSPAN=7 background="images/ETv2_19.png" WIDTH=3 HEIGHT=357 ALT=""></TD>
    
    	<TD COLSPAN=11 background="images/ETv2_20.png" WIDTH=539 HEIGHT=3 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=2 background="images/ETv2_21.png" WIDTH=45 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_22.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_23.png" WIDTH=1 HEIGHT=44 ALT=""></TD>
    
    	<TD COLSPAN=2 background="images/ETv2_24.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_25.png" WIDTH=1 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_26.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD COLSPAN=2 background="images/ETv2_27.png" WIDTH=37 HEIGHT=44 ALT=""></TD>
    
    	<TD ROWSPAN=7 background="images/ETv2_28.png" WIDTH=2 HEIGHT=395 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=2 ROWSPAN=3 background="images/ETv2_29.png" WIDTH=45 HEIGHT=89 ALT=""></TD>
    
    	<TD COLSPAN=6 background="images/ETv2_30.png" WIDTH=455 HEIGHT=3 ALT=""></TD>
    
    	<TD COLSPAN=2 ROWSPAN=3 background="images/ETv2_31.png" WIDTH=37 HEIGHT=89 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD> <a href="link"><img src="images/ETv2_32.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    	<TD background="images/ETv2_33.png" WIDTH=1 HEIGHT=83 ALT=""></TD>
    
    	<TD COLSPAN=2> <a href="link"><img src="images/ETv2_34.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    	<TD background="images/ETv2_35.png" WIDTH=1 HEIGHT=83 ALT=""></TD>
    
    	<TD> <a href="link"><img src="images/ETv2_36.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=6 background="images/ETv2_37.png" WIDTH=455 HEIGHT=3 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 background="images/ETv2_38.png" WIDTH=537 HEIGHT=44 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 class="content" valign="top" background="images/ETv2_39.png"
    	 WIDTH=537 HEIGHT=177 ALT="">
    
    <?php
    $include = "home.php"
    $id = $_GET['id'];
    if (isset($id)) { $include = "$id.php"; }
    if (!file_exists($include)) { $include = "missing.php"; }
    require_once($include);
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=15 background="images/ETv2_40.png"
    	 WIDTH=798 HEIGHT=41 ALT="">
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_41.png" WIDTH=800 HEIGHT=10 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 class="footer" background="images/ETv2_42.png"
    	 WIDTH=800 HEIGHT=48 ALT="">
    <?php 
    
    include('Edit-Footer.php'); 
    
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD background="images/spacer.gif" WIDTH=67 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=68 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=58 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=65 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=3 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=28 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=17 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=151 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=105 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=46 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=151 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=27 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=10 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=2 HEIGHT=1 ALT=""></TD>
    </TR>
    </TABLE>
    </div>
    </BODY>
    </HTML>

  10. You're the retard? that just makes me seem even more retarded :P

     

    Anyway, that fixed one of the problems...

    Parse error: syntax error, unexpected $end in /home/eternalt/public_html/index.php on line 211

     

    With line 211 being the closing line... </html>

    PHP is so damn confusing...

  11. I used

    <?php
    $include = "home.php"
    $id = $_GET['id'];
    if (isset($id)) { $include = "$id.php"; }
    if (!file_exists($include)) { $include = "missing.php"; }
    require_once($include);
    ?>

     

    Although, with

    <?php
    $id = $_GET['id'];
    include('$id.php');
    ?>

    I get this

    Warning: main($id.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 161

     

    Warning: main($id.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 161

     

    Warning: main(): Failed opening '$id.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 161

    With line 161 being

    include('$id.php')

     

    Any ideas?

  12. <HTML>
    <HEAD><link href="style2.css" rel="stylesheet" type="text/css">
    <TITLE>Eternal Tales</TITLE>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    </HEAD>
    <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
    <div align="center">
    <TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>
    <TR>
    	<TD background="images/ETv2_01.png" WIDTH=67 HEIGHT=51 ALT=""><a href="link"><img src="images/ETv2_01.png"></a></TD>
    
    	<TD class="talesnews"background="images/ETv2_02.png" WIDTH=68 HEIGHT=51 ALT=""><a href="link"><img src="images/ETv2_02.png"></a></TD>
    
    	<TD background="images/ETv2_03.png" WIDTH=58 HEIGHT=51 ALT=""><a href="link"><img src="images/ETv2_03.png"></a></TD>
    
    	<TD COLSPAN=3 background="images/ETv2_04.png" WIDTH=96 HEIGHT=51 ALT="">
    <a href="link"><img src="images/Contactbutton.png"></a></TD>
    
    	<TD COLSPAN=10 background="images/ETv2_05.png" WIDTH=511 HEIGHT=51 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_06.png" WIDTH=800 HEIGHT=68 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 ROWSPAN=6 background="images/ETv2_07.png"
    	 WIDTH=563 HEIGHT=156 ALT=""></TD>
    
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_08.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    
    	<TD COLSPAN=2 ROWSPAN=6 background="images/ETv2_09.png" WIDTH=12 HEIGHT=156 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_10.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_11.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a> 
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_12.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_13.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 class="talesnews" background="images/ETv2_14.png"
    	 WIDTH=225 HEIGHT=26 ALT="">
    	- <a href="link"> The Truth Is Right Here </a>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_15.png" WIDTH=800 HEIGHT=16 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 class="affiliate" background="images/ETv2_16.png"
    	 WIDTH=800 HEIGHT=25 ALT="">
    <?php
    
    $id = $_GET['id'];
    
    ?>
    
    
    <?php 
    
    include('Edit-WebAff.php'); 
    
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_17.png" WIDTH=800 HEIGHT=28 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=4 ROWSPAN=7 class="nav" valign="top" background="images/ETv2_18.png"
    	 WIDTH=258 HEIGHT=357 ALT="">
    
    <?php 
    
    include('Edit-Navigation.php'); 
    
    ?>
    
    </TD>
    
    	<TD ROWSPAN=7 background="images/ETv2_19.png" WIDTH=3 HEIGHT=357 ALT=""></TD>
    
    	<TD COLSPAN=11 background="images/ETv2_20.png" WIDTH=539 HEIGHT=3 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=2 background="images/ETv2_21.png" WIDTH=45 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_22.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_23.png" WIDTH=1 HEIGHT=44 ALT=""></TD>
    
    	<TD COLSPAN=2 background="images/ETv2_24.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_25.png" WIDTH=1 HEIGHT=44 ALT=""></TD>
    
    	<TD background="images/ETv2_26.png" WIDTH=151 HEIGHT=44 ALT=""></TD>
    
    	<TD COLSPAN=2 background="images/ETv2_27.png" WIDTH=37 HEIGHT=44 ALT=""></TD>
    
    	<TD ROWSPAN=7 background="images/ETv2_28.png" WIDTH=2 HEIGHT=395 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=2 ROWSPAN=3 background="images/ETv2_29.png" WIDTH=45 HEIGHT=89 ALT=""></TD>
    
    	<TD COLSPAN=6 background="images/ETv2_30.png" WIDTH=455 HEIGHT=3 ALT=""></TD>
    
    	<TD COLSPAN=2 ROWSPAN=3 background="images/ETv2_31.png" WIDTH=37 HEIGHT=89 ALT=""></TD>
    
    </TR>
    <TR>
    	<TD> <a href="link"><img src="images/ETv2_32.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    	<TD background="images/ETv2_33.png" WIDTH=1 HEIGHT=83 ALT=""></TD>
    
    	<TD COLSPAN=2> <a href="link"><img src="images/ETv2_34.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    	<TD background="images/ETv2_35.png" WIDTH=1 HEIGHT=83 ALT=""></TD>
    
    	<TD> <a href="link"><img src="images/ETv2_36.png"
    	 WIDTH=151 HEIGHT=83 ALT="" border="no"></a></TD>
    
    </TR>
    <TR>
    	<TD COLSPAN=6 background="images/ETv2_37.png" WIDTH=455 HEIGHT=3 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 background="images/ETv2_38.png" WIDTH=537 HEIGHT=44 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=10 class="content" valign="top" background="images/ETv2_39.png"
    	 WIDTH=537 HEIGHT=177 ALT="">
    
    <?php
    
    include('$id.php');
    
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=15 background="images/ETv2_40.png"
    	 WIDTH=798 HEIGHT=41 ALT="">
    	</TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 background="images/ETv2_41.png" WIDTH=800 HEIGHT=10 ALT=""></TD>
    </TR>
    <TR>
    	<TD COLSPAN=16 class="footer" background="images/ETv2_42.png"
    	 WIDTH=800 HEIGHT=48 ALT="">
    <?php 
    
    include('Edit-Footer.php'); 
    
    ?>
    
    	</TD>
    </TR>
    <TR>
    	<TD background="images/spacer.gif" WIDTH=67 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=68 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=58 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=65 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=3 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=28 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=17 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=151 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=105 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=46 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=151 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=27 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=10 HEIGHT=1 ALT=""></TD>
    	<TD background="images/spacer.gif" WIDTH=2 HEIGHT=1 ALT=""></TD>
    </TR>
    </TABLE>
    </div>
    </BODY>
    </HTML>

     

    Yeah, not the best of code...

  13. gah, I'm an idiot...

    I placed

    $id = $_GET['id'];

    into lots of random locations in the index.php yet I keep getting this error...

     

    Warning: main($id.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 160

     

    Warning: main($id.php): failed to open stream: No such file or directory in /home/eternalt/public_html/index.php on line 160

     

    Warning: main(): Failed opening '$id.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 160

  14. sorry... :(

    <TR>

    <TD COLSPAN=6 background="images/ETv2_37.png" WIDTH=455 HEIGHT=3 ALT=""></TD>

    </TR>

    <TR>

    <TD COLSPAN=10 background="images/ETv2_38.png" WIDTH=537 HEIGHT=44 ALT=""></TD>

    </TR>

    <TR>

    <TD COLSPAN=10 class="content" valign="top" background="images/ETv2_39.png"

    WIDTH=537 HEIGHT=177 ALT="">

     

    <?php include("$id"); ?>

     

    </TD>

    </TR>

    <TR>

    <TD COLSPAN=15 background="images/ETv2_40.png"

    WIDTH=798 HEIGHT=41 ALT="">

    </TD>

    </TR>

    <TR>

    <TD COLSPAN=16 background="images/ETv2_41.png" WIDTH=800 HEIGHT=10 ALT=""></TD>

    </TR>

  15. Warning: main(): Failed opening '' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eternalt/public_html/index.php on line 158

     

    I keep on getting that... Any help regarding how to fix it appreciated.

×
×
  • Create New...

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.