Posted by Benjamin Esham on 08/06/06 17:02
Steve wrote:
> Benjamin Esham wrote:
>
> > It would seem that the file functions.php is not being interpreted as
> > PHP code. Check your server settings to make sure that the file is
> > placed in a suitable directory for inclusion.
>
> The included file is in the same directory as the page that is including
> it, and that's the way it worked in the past. Can included files only be
> in the directory specified in php.ini?
AFAIK files can be included from any readable directory. Including a file
from the same directory shouldn't cause any problems.
> > Also, you might make sure that your include file begins with <?php and
> > ends with ?>. Otherwise, PHP has no way of knowing that your code is
> > anything other than plain text.
>
> That was one of the first things I checked.
>
> Here are the first few lines from the functions.php:
>
> <?
As another poster suggested, try using "<?php" instead of just "<?".
HTH,
--
Benjamin D. Esham
bdesham@gmail.com | AIM: bdesham128 | Jabber: same as e-mail
Ceci n'est pas une sig.
[Back to original message]
|