My directory is set up like this:
htdocs/
globe_bank/
private/
shared/
staff_header
public/
staff/
index.php
I am trying to include both the staff_footer and staff_header files within my staff\index.php file.
<?php include('../../private/shared/staff_header'); ?>
However, I am getting the following error:
"Warning: include(../..private/shared/staff_header): Failed to open stream: No such file or directory in C:\xampp\htdocs\globe_bank\public\staff\index.php on line 3
Warning: include(): Failed opening '../..private/shared/staff_header' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\globe_bank\public\staff\index.php on line 3"
Any ideas on how to fix this?