stfc_boy
11-22-2007, 12:42 PM
Hi All,
I have a file called header.php which I call into various pages on my site. In it I want to link to a file called process.php
Now this file lives in a folder in the top level called connections
<?php
ini_set('include_path', '/connections');
include('process.php');
?>
So the plan is if I’m calling header.php in a page from anywhere on a page that could be within a folder and then within another folder it will still work. However it does not?
Any ideas?
Thanks
I have a file called header.php which I call into various pages on my site. In it I want to link to a file called process.php
Now this file lives in a folder in the top level called connections
<?php
ini_set('include_path', '/connections');
include('process.php');
?>
So the plan is if I’m calling header.php in a page from anywhere on a page that could be within a folder and then within another folder it will still work. However it does not?
Any ideas?
Thanks