|
Posted by axlq on 06/22/07 00:01
In article <1182453968.263730.48010@p77g2000hsh.googlegroups.com>,
<maniactive@gmail.com> wrote:
><?php include("header.shtml");?>
>
>I tried that, too -- but no luck. I also tried the path...and the
>server path.
>Still no luck.
>Thanks anyway.
>Any other ideas?
Well, the php include directive is suppose to include other php
code. It appears (and I'm guessing) that you are including an HTML
file, which should be output rather than executed as PHP.
Why not just say
<?php readfile("header.shtml"); ?>
That's what you should do if the file you're reading is simply text
or HTML that you want to output.
See http://us.php.net/manual/en/function.readfile.php
If that doesn't work, then I think your next step is to contact your
hosting services tech support; after all, they are the ones who seem
to have provided a broken implementation of php.
-A
[Back to original message]
|