There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: Useing php includes?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
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">&nbsp;</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'">&nbsp;-<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">&nbsp;-<a href="?id=contact">Contact</a></td>
</tr>
<tr>
<td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-<a href="?id=affiliates">Affiliates</a></td>
</tr>
<tr>
<td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-<a href="?id=about">About Us</a></td>
</tr>
<tr>
<td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-<a href="forums/index.php?">Forums</a></td>
</tr>
<tr>
<td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-<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'">&nbsp;-Adobe
Photoshop</td>
</tr>
<tr>
<td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-CSS
Stylesheets</td>
</tr>
<tr>
<td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-HTML</td>
</tr>
<tr>
<td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-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'">&nbsp;-View
All</td>
</tr>
</table>
</td>
<td width="6%" background="images/contentside.gif">&nbsp;</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%">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</td>
</tr>
<tr>
<td width="100%">&nbsp;</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%">&nbsp;</td>
<td width="20%">
<img border="0" src="images/updates.gif" width="201" height="35"></td>
<td width="20%">&nbsp;</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">&nbsp;
</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">&nbsp;
</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%">&nbsp;</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">&nbsp;
</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">&nbsp;
</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%">&nbsp;</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">&nbsp;
</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">&nbsp;
</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%">&nbsp;</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">&nbsp;</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">&nbsp;</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%">&nbsp;</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
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
04-Feb-2006, 11:14 PM #2
You're already in the public_html directory
<? include 'ndstats/stat_calc.php3' ?>
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
04-Feb-2006, 11:17 PM #3
yeah, i noticed that i've changed it, still with no luck, and other ideas?
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
04-Feb-2006, 11:33 PM #4
The error on your site still has the public_html in there.
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
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">&nbsp;</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'">&nbsp;-<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">&nbsp;-<a href="?id=contact">Contact</a></td>
</tr>
<tr>
<td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-<a href="?id=affiliates">Affiliates</a></td>
</tr>
<tr>
<td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-<a href="?id=about">About Us</a></td>
</tr>
<tr>
<td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-<a href="forums/index.php?">Forums</a></td>
</tr>
<tr>
<td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-<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'">&nbsp;-Adobe
Photoshop</td>
</tr>
<tr>
<td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-CSS
Stylesheets</td>
</tr>
<tr>
<td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-HTML</td>
</tr>
<tr>
<td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'">&nbsp;-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'">&nbsp;-View
All</td>
</tr>
</table>
</td>
<td width="6%" background="images/contentside.gif">&nbsp;</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%">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</td>
</tr>
<tr>
<td width="100%">&nbsp;</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%">&nbsp;</td>
<td width="20%">
<img border="0" src="images/updates.gif" width="201" height="35"></td>
<td width="20%">&nbsp;</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">&nbsp;
</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">&nbsp;
</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%">&nbsp;</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">&nbsp;
</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">&nbsp;
</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%">&nbsp;</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">&nbsp;
</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">&nbsp;
</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%">&nbsp;</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">&nbsp;</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">&nbsp;</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%">&nbsp;</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?
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
04-Feb-2006, 11:42 PM #6
ahhhh ok, now the stats show up, i just have to fix the top of the page so it log the stats and stuff, and ideas?
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
04-Feb-2006, 11:42 PM #7
Have you tried with the full path?
/home/cnelson/public_html/ndstats/stat_calc.php3
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
04-Feb-2006, 11:47 PM #8
yepp, just tried it, still got the same thing, i really need to figure this out. lol.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
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?
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
04-Feb-2006, 11:54 PM #10
yes i've changed them to .php because this is what someone else did and they said it worked, so half of it worked for me, but i don't understand how to get the top message to go away.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
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?
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
04-Feb-2006, 11:59 PM #12
one that doesn't work; <?php include "/ndstats/stat_calc.php"; ?>
one that DOES work; <? include 'ndstats/stat_display.php' ?>
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
05-Feb-2006, 12:03 AM #13
Like I posted above
<? include 'ndstats/stat_calc.php' ?>
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
05-Feb-2006, 12:05 AM #14
ok, so i've changed it, except now look at the message i get; www.visionstudios.be
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
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.
Reply