HTML foult on index.php
Posted: Sat Sep 09, 2006 10:32 am
feyd | Please use
Can anyone help me out with this? To find out foult in index.php. One think i know fore sure, that the code in index page is not quite right.
Thanks in advance,
NAT
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi,
I am getting error when i want to include a page inside index page. There is somethink wrong with my index page . Is pure HTML , i tryd the page on difrent servers, local server WAMP, on my linux server en Professional server wich hired from Hosting provider. From all of tree servers i get the same error. When it trys to include i get this error
[quote]Warning: main(): Failed opening '' for inclusion (include_path='.:/usr/lib/php') in /var/www/localhost/htdocs/index.php on line 68
[/quote]
This is my index page:Code: Select all
<html>
<head>
<title>Layout website</title>
</head>
<body bgcolor="#050e18">
<link rel="stylesheet" href="/testpage/style/style2.css">
<div id="topcolumn">
<td>
<table width="696" >
<tr>
<td width="688" height="124"><img src="logo.jpg" alt="logo" width="704"> </td>
</tr>
</table>
</td>
</div>
<div id="topcolumn2">
<table width="705" height="14" class="balk" border="0">
<tr>
<td>
</td>
<td width="70"><p><b>HOME</b></p></td>
<td width="83"><p><b>PROFILE</b></p></td>
<td width="77"><p><b>FORUM</b></p></td>
<td align="left" width="219"><p><b>ABOUT </b></p></td>
<td width="17"></td>
</tr>
</table>
</td>
</div>
<div id="leftcolumn">
<td>
<table width="125" height="12" bgcolor="#FFFFFF">
<tr>
<td width="117" height="12" align="left" bgcolor="#293f58" class="menu"><b>MENU</b></td>
<tr>
<td class="menu" height="12" style="color:#666666" ><b>News</b></td>
<tr>
<td class="menu" height="12" style="color:#666666" ><b>Rules</b></td>
<tr>
<td class="menu" height="12" style="color:#666666" ><b>Rec.rules</b></td>
<tr>
<td class="menu" height="12" style="color:#666666" ><b>Clanwars</b></td>
<tr>
<td class="menu" height="12" style="color:#666666" ><b>Calendar</b></td>
<tr>
<td class="menu" height="12" style="color:#666666" ><b>Guestbook</b></td>
<tr>
<td class="menu" height="12" style="color:#666666" ><b>Downloads</b></td>
</tr>
</table>
</td>
</div>
<div id="bodycolumn">
<table width="413" height="540" bgcolor="#FFFFFF">
<tr>
<td height="101" class="textstyle2">
<?php
$page = $_POST["page"];
include($page);
?>
</td>
</tr>
</table>
</td>
</div>
<div id="rightcolumn">
<td>
<table align="center" class="login" width="145" height="81" bgcolor="#FFFFFF">
<tr>
<td height="12" bgcolor="#293f58" align="left" class="menu"><B>LOGIN</B>
</td>
<tr>
<td>
</td>
</tr>
</table>
</td>
<td>
<table align="center" width="145" height="12" class="login" >
<tr>
<td height="12" colspan="2" bgcolor="#293f58" align="left" class="menu"><b>CLAN Memebers</b></td>
</tr>
<tr>
<td width="123" height="250" class="textstyle"></td>
<td width="21" height="250"></td>
</tr>
</table>
</td>
<td>
<table width="143" height="120" bgcolor="#FFFFFF">
<tr>
<td width="135">dfdf
</td>
</tr>
</table>
</td>
</div>
</body>
</html>Thanks in advance,
NAT
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]