well, sorry for not giving more details.
I have the following line inside memberheader.php:
include '../includes/connect2db.php';
so calling memberheader.php is not the real issue..
I am calling memberhear.php from files available in different folders so sometimes I am calling it
./include/memberheader.php
and sometimes
../include/memberheader.php
and also:
memberheader.php
so the file is being called without any problem..
However, the problem as you know will occur when calling include '../includes/connect2db.php' because the directory will change.