I just upgraded to PHP 4.3 and I am having some major problems now.
All of my include files no longer work. Apparantly PHP 4.3 does not like it when I make links relative to the site root.
I have thousands of pages on my server effected by this. Changing the code is not an option. Please help!!!
The error I get is:
"Warning: main(/includes/top_banner.htm) [function.main]: failed to create stream: No such file or directory in C:!Webs\OnePercent\default.php on line 78"
Below is an example code illustrating the problem.
Code:
This does not work
<?php include('/includes/top_banner.htm'); ?>
This will work
<?php include('includes/top_banner.htm'); ?>