Just a little thing im doing to get my experience up. Im trying many different things and i would like to know how to go about this little thing im trying
Iv got index.php in the main directory - uses include/head.php
iv got head.php which is in the includes directory - this reads a text file which is in a location going from main directory Admin/Docs/head.txt
There is nothing wrong with this it reads the file exactly how i want it.
However iv got now in the admin directory index.php
which also includes ../includes/head.php
So the problem i have got is its not seeing it correctly because of the directory location when it reads the head.php the text file location is incorrect reading it as Admin/docs/head.txt and because it is already in the admin location from the admin/index.php it pulls out a file does not exist.