I have the following directory structure:
- m
--> css
--> js
--> includes
- php_scripts
In my m/includes there is a file called functions.php and in my php_scripts there is a file called conn.php.
I would like to include the conn.phpin the functions.php file but I have no success with it:
<?php
require_once("../../php_scripts/conn.php");
I would assume the previous code is correct but it simply doesn't work. Even if there is no other code in functions.php (just the require), the page loads blank. If I check httpfox I see the result 500 - internal server error. If I comment the line with require_once, it works flawlessly. Any ideas? Thanks a lot!
?php phpinfo();?to see if the path is right?