I currently have a file class.main.php
here:
app/main/class/class.main.php
session.php
is located in app/main/session.php
class.user.php
is located in app/main/class/class.user.php
The first few lines of class.main.php
include:
require_once("../../session.php");
require_once("../../../class.user.php");
The statements do not seem to work, I feel like it is a problem with the ../../
How can I correctly require these files when they're in different directories?