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?
 
Re: Re: php includes?

Xoltaric said:
Yes..

I get this error

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

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 <? ...
 
Back
Top