Hi.
I have a web project with the following structure
root/
-functions/
-classes/
...
In a file located in functions folder i need to include a class from classes folder.
I use require_once('../classes/classname.php');
But when i run the script i get the following error:
Warning: require_once(../classes/DAL.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\SiteWD\functions\getCountries.php on line 2.
What i am doing wrong?