[SOLVED]PHP misbehaving?
Posted: Tue Mar 14, 2006 7:17 pm
Weirdest error I have EVER seen: I have a very small page with some PHP and some HTML. Very straighforward, here it is:
And this is the error it spits out:
Any ideas on what can be causing it?
Thanks.
Code: Select all
<?php
include("functions.php");
include("user_class.php");
$user = new User($_GET['id']); //id passed
$about_self = smilie($user->about_self);
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #cccccc;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
line-height: 16px;
}
-->
</style></head>
<body>
<table width="342" height="18" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top"> <span class="style1"><?php echo $about_self; ?></p></td>
</tr>
</table>
</body>
</html>Code: Select all
Fatal error: Call to undefined function: phpinclude() in /home/vlad/public_html/aboutme.php on line 1Thanks.