The following is the direcory Structure of my application.
-/home/user
| -/app
| | -/class
| | | -/proc
| | | | -public_login.php
| | | | -public_notice.php
| | | | -public_reset.php
| | | -constants.php
| | | -utils.php
| | | -....
| | | -....
| | -public_index.php
| | -public_admin.php
| -public_html
| -project_name
| | -proc
| | | - login.php
..........
Now in /public_html/proc/login.php I am including /app/class/proc/public_login.php using the following:
require_once('../../../app/class/proc/public_login.php');
Now inside the public_login.php there is requirement of app/class/utils.php so I added the following in the public_login.php.
require_once '../utils.php';
But I am getting 404 Error on this.
utils.php PATH
/home/user/app/class/utils.php
public_login.php path
/home/user/app/class/proc/public_login.php
Kindly help me solve this.
Regards
Genocide_Hoax