Web Design & Development |
| |

| | Thread Tools |
|
04-Feb-2006, 10:20 PM
#1 |
| Solved: Useing php includes? hey guys, can someone help me, i'm trying to install ndstats on my page, but i keep getting this error message; www.visionstudios.be could someone please help me out? that is also just the frist step in installing it. -cnelson. ![]() btw; the code. <? include 'public_html/ndstats/stat_calc.php3' ?> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Vision Studios!</title> <style type="text/css"> <!-- body, td, th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000; } a:link { color: #333; text-decoration: none; } a:visited { text-decoration: none; color: #333; } a:hover { text-decoration: underline; color: #333; } a:active { text-decoration: none; color: #000; } --> </style> </head> <body bgcolor="#FFFFFF" topmargin="0"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="851" id="AutoNumber1"> <tr> <td width="13" background="images/left.gif"> <td width="825"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="197"> <tr> <td width="100%" height="176"> <p align="left"> <img border="0" src="images/banner2.gif" width="824" height="176"></td> </tr> <tr> <td width="100%" background="images/navbg.gif" height="47"> <p align="left"> <img border="0" src="images/home.gif" width="129" height="47"><a href="forums/index.php?"><img border="0" src="images/forums.gif" width="138" height="47"></a><a href="tutorials.php"><img border="0" src="images/tutorials.gif" width="141" height="47"></a><img border="0" src="images/templates.gif" width="141" height="47"><a href="?id=staff"><img border="0" src="images/staff.gif" width="138" height="47"></a><a href="?id=affiliates"><img border="0" src="images/linkus.gif" width="138" height="47"></a></td> </tr> <tr> <td width="100%" height="5"> <p align="left"></td> </tr> <tr> <td width="100%" height="19"> <table border="0" cellpadding="6" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3"> <tr> <td width="25%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber10"> <tr> <td width="21%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="6%" id="AutoNumber11"> <tr> <td width="100%"> <img border="0" src="images/nav.gif" width="150" height="32"></td> </tr> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif"> </td> <td width="91%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber13"> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> <a href="#">Main</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="index.php">Home</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> -<a href="?id=contact">Contact</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=affiliates">Affiliates</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=about">About Us</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="forums/index.php?">Forums</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=staff">Staff</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> Tutorials - <i>Soon</i></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -Adobe Photoshop</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -CSS Stylesheets</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -HTML</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -PHP Coding</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> Templates - <i>Soon</i></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -View All</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif"> </td> </tr> <tr> <td width="3%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/randomm.gif" width="150" height="33"></td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> <td width="91%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber14"> <tr> <td width="100%">Coming Soon..</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="3%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/affiliates.gif" width="150" height="33"></td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> <td width="91%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber15"> <tr> <td width="100%">Coming Soon</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="3%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> <td width="79%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="96%" id="AutoNumber16"> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber19"> <tr> <td width="100%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber20"> <tr> <td width="20%"> <img border="0" src="images/login.gif" width="201" height="35"></td> <td width="20%"> </td> <td width="20%"> <img border="0" src="images/updates.gif" width="201" height="35"></td> <td width="20%"> </td> <td width="20%"> <img border="0" src="images/statss.gif" width="201" height="35"></td> </tr> <tr> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber21"> <tr> <td width="4%" background="images/contentside.gif"> </td> <td width="93%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber24"> <tr> <td width="100%">Coming Soon..</td> </tr> </table> </td> <td width="3%" background="images/contentside.gif"> </td> </tr> <tr> <td width="4%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="93%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="3%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> <td width="20%"> </td> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber22"> <tr> <td width="4%" background="images/contentside.gif"> </td> <td width="93%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber25"> <tr> <td width="100%">Vision Studios v1.0 Launched!</td> </tr> </table> </td> <td width="3%" background="images/contentside.gif"> </td> </tr> <tr> <td width="4%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="93%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="3%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> <td width="20%"> </td> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber23"> <tr> <td width="3%" background="images/contentside.gif"> </td> <td width="95%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber26"> <tr> <td width="100%">Coming Soon..</td> </tr> </table> </td> <td width="2%" background="images/contentside.gif"> </td> </tr> <tr> <td width="3%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="95%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="2%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> </tr> <tr> <td width="100%"> <img border="0" src="images/content.gif" width="652" height="35"></td> </tr> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber17"> <tr> <td width="1%" background="images/contentside.gif"> </td> <td width="98%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber18"> <tr> <td width="100%"><? $id = $_GET["id"]; if($id == "" || !file_exists("/home/cnelson/public_html/$id.php")) { $id = "home"; } include ("/home/cnelson/public_html/$id.php"); ?></td> </tr> </table> </td> <td width="1%" background="images/contentside.gif"> </td> </tr> <tr> <td width="1%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="98%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="1%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" height="19"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9"> <tr> <td width="100%"> <img border="0" src="images/copyright.gif" width="824" height="12"></td> </tr> <tr> <td width="100%" background="images/copyrightbg.gif" height="53"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber27"> <tr> <td width="100%"> <p align="center">Copyright © 2006+ VisionStudios - Layout Created By Chris, Coded By Brady</td> </tr> <tr> <td width="100%"> <p align="center">Powered By VisionStudios CMS</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> <td width="13" background="images/right.gif"> <p align="left"> </td> </tr> </table></center> </body> </html> and the file is located in;public_html/ndstats/stat_clac.php3 |
04-Feb-2006, 11:14 PM
#2 | |||||
| You're already in the public_html directory <? include 'ndstats/stat_calc.php3' ?> |
04-Feb-2006, 11:33 PM
#4 | |||||
| The error on your site still has the public_html in there. |
|
04-Feb-2006, 11:40 PM
#5 |
| ok, heres the new code; <?php include "ndstats/stat_calc.php3"; ?> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Vision Studios!</title> <style type="text/css"> <!-- body, td, th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000; } a:link { color: #333; text-decoration: none; } a:visited { text-decoration: none; color: #333; } a:hover { text-decoration: underline; color: #333; } a:active { text-decoration: none; color: #000; } --> </style> </head> <body bgcolor="#FFFFFF" topmargin="0"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="851" id="AutoNumber1"> <tr> <td width="13" background="images/left.gif"> <td width="825"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="197"> <tr> <td width="100%" height="176"> <p align="left"> <img border="0" src="images/banner2.gif" width="824" height="176"></td> </tr> <tr> <td width="100%" background="images/navbg.gif" height="47"> <p align="left"> <img border="0" src="images/home.gif" width="129" height="47"><a href="forums/index.php?"><img border="0" src="images/forums.gif" width="138" height="47"></a><a href="tutorials.php"><img border="0" src="images/tutorials.gif" width="141" height="47"></a><img border="0" src="images/templates.gif" width="141" height="47"><a href="?id=staff"><img border="0" src="images/staff.gif" width="138" height="47"></a><a href="?id=affiliates"><img border="0" src="images/linkus.gif" width="138" height="47"></a></td> </tr> <tr> <td width="100%" height="5"> <p align="left"></td> </tr> <tr> <td width="100%" height="19"> <table border="0" cellpadding="6" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3"> <tr> <td width="25%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber10"> <tr> <td width="21%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="6%" id="AutoNumber11"> <tr> <td width="100%"> <img border="0" src="images/nav.gif" width="150" height="32"></td> </tr> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif"> </td> <td width="91%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber13"> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> <a href="#">Main</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="index.php">Home</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> -<a href="?id=contact">Contact</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=affiliates">Affiliates</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=about">About Us</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="forums/index.php?">Forums</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=staff">Staff</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> Tutorials - <i>Soon</i></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -Adobe Photoshop</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -CSS Stylesheets</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -HTML</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -PHP Coding</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> Templates - <i>Soon</i></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -View All</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif"> </td> </tr> <tr> <td width="3%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/randomm.gif" width="150" height="33"></td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> <td width="91%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber14"> <tr> <td width="100%">Coming Soon..</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="3%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/affiliates.gif" width="150" height="33"></td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> <td width="91%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber15"> <tr> <td width="100%">Coming Soon</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="3%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> <td width="79%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="96%" id="AutoNumber16"> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber19"> <tr> <td width="100%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber20"> <tr> <td width="20%"> <img border="0" src="images/login.gif" width="201" height="35"></td> <td width="20%"> </td> <td width="20%"> <img border="0" src="images/updates.gif" width="201" height="35"></td> <td width="20%"> </td> <td width="20%"> <img border="0" src="images/statss.gif" width="201" height="35"></td> </tr> <tr> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber21"> <tr> <td width="4%" background="images/contentside.gif"> </td> <td width="93%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber24"> <tr> <td width="100%">Coming Soon..</td> </tr> </table> </td> <td width="3%" background="images/contentside.gif"> </td> </tr> <tr> <td width="4%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="93%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="3%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> <td width="20%"> </td> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber22"> <tr> <td width="4%" background="images/contentside.gif"> </td> <td width="93%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber25"> <tr> <td width="100%">Vision Studios v1.0 Launched!</td> </tr> </table> </td> <td width="3%" background="images/contentside.gif"> </td> </tr> <tr> <td width="4%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="93%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="3%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> <td width="20%"> </td> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber23"> <tr> <td width="3%" background="images/contentside.gif"> </td> <td width="95%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber26"> <tr> <td width="100%"><? include 'public_html/ndstats/stat_display.php' ?></td> </tr> </table> </td> <td width="2%" background="images/contentside.gif"> </td> </tr> <tr> <td width="3%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="95%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="2%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> </tr> <tr> <td width="100%"> <img border="0" src="images/content.gif" width="652" height="35"></td> </tr> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber17"> <tr> <td width="1%" background="images/contentside.gif"> </td> <td width="98%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber18"> <tr> <td width="100%"><? $id = $_GET["id"]; if($id == "" || !file_exists("/home/cnelson/public_html/$id.php")) { $id = "home"; } include ("/home/cnelson/public_html/$id.php"); ?></td> </tr> </table> </td> <td width="1%" background="images/contentside.gif"> </td> </tr> <tr> <td width="1%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="98%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="1%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" height="19"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9"> <tr> <td width="100%"> <img border="0" src="images/copyright.gif" width="824" height="12"></td> </tr> <tr> <td width="100%" background="images/copyrightbg.gif" height="53"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber27"> <tr> <td width="100%"> <p align="center">Copyright © 2006+ VisionStudios - Layout Created By Chris, Coded By Brady</td> </tr> <tr> <td width="100%"> <p align="center">Powered By VisionStudios CMS</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> <td width="13" background="images/right.gif"> <p align="left"> </td> </tr> </table></center> </body> </html> so i don't know what else to do? |
04-Feb-2006, 11:42 PM
#7 | |||||
| Have you tried with the full path? /home/cnelson/public_html/ndstats/stat_calc.php3 |
04-Feb-2006, 11:50 PM
#9 | |||||
| Now your page says stat_calc.php. Here you posted stat_calc.php3. Are you using the right filename? |
04-Feb-2006, 11:57 PM
#11 | |||||
| So what exactly is the code you're using for the include that works and the one that doesn't work? |
05-Feb-2006, 12:03 AM
#13 | |||||
| Like I posted above <? include 'ndstats/stat_calc.php' ?> |
|
05-Feb-2006, 12:05 AM
#14 |
| ok, so i've changed it, except now look at the message i get; www.visionstudios.be |
05-Feb-2006, 12:14 AM
#15 | |||||
| You need to fix the filepaths in the stat_calc.php script. The path to htmlstats.txt is wrong in there. |
![]() |
|




