php includes?

Switching from another host…

One the last one I just had a directory called includes but for some reason it isn’t working here…

Any ideas?

Have you enabled PHP from the CP?

[QUOTE=Bliss]
Have you enabled PHP from the CP?
[/QUOTE]

Yes..

I get this error

Failed opening required ‘header.php’ (include_path=‘.:/usr/local/lib/php’)

Re: Re: php includes?

[QUOTE=Xoltaric]
Yes..

I get this error

Failed opening required ‘header.php’ (include_path=‘.:/usr/local/lib/php’)
[/QUOTE]

Figured it out.. thanks for looking..

I just put in the path in the require function.

<?php require('includes/header.php'); ?>

Also noticed you have to specific <?php instead of just <? …