Hello. I am currently working on a website that includes certain things on every page, e.g. the copyright notice and the navigational menu. On my Apache server I have aliased /includes/ as the includes directory. What I would like to do is have PHP include things that are in the /includes/ Alias directory using the alias.
Example:
I have tried that but it always produces an error, 'Failed to open stream'. I would really like to have the Aliased directory used because my entire website has aliased directories for style sheets and other things.
Thank you in advance.
Example:
Code:
<?php include('/includes/copyright.php'); ?>
I have tried that but it always produces an error, 'Failed to open stream'. I would really like to have the Aliased directory used because my entire website has aliased directories for style sheets and other things.
Thank you in advance.