I have a php file, call it file1.php, that is included from files in different directories. Now, file1.php needs to include another php file, call it file2.php, but the problem is that the relative path to file2.php will change since file1.php is included from different places.
Therefore, I think I need to use an absolute path. For instance, on my web server I can use the path "/home/user
Forum:
WampServer English