Yea, it's definitely the newer php. I've been getting this error a lot lately. The best way to remedy the problem is to use:
<? include('/absolute/file/path/header.php'); ?>
If you use the absolute path, you don't need the ../../
The path usually looks like this:
<? include('/home/username/directory/header.php'); ?>
My real problem is when I want to include someting like this:
include ('http://www.website.com/contents/page.php?action=something');
Since my host updated PHP to version 4.3.2. the includes started showing the error:
Warning: main(): stream does not support seeking
I need some help on how to include this files. Please help me!!
Before the include, try setting the action variable.
For example,
<?
if($something)
{
$action = 'something';
include('/home/public_html/contents/page.php');
}
?>
I believe this should work. 🙂 As long as the files are not called remotely.
I believe putting the @ in front of the function only surpresses the error from that function...