I would like to explain my situation the best I could because some of the terms that I would user here may not make sense to you you can always ask for clarity.
here I am using require_once like this (way 1)
require_once('../../model/_constants.php');
The above require once work fine but when I change this to the following (way 2):
require_once('/claimspro/model/class.session.php');
it throw the following error
Warning: require_once(/claimspro/model/class.session.php): failed to open stream: No such file or directory in C:\wamp\www\claimspro\public\admin\html_included\all_require_once_files.php on line 4
I know this is the right path here is the image that shows the path
I am doing this because when I upload this to server the way 1 does not work so when i change to way to it works fine on godaddy server but not my localhost...
Any Idea
use full path to /wamp/www/claimspro/model/