PHP files to be included across files in different directories

Hi all!

This question is for my friend. He has created some php based webpages and uploaded them to his web hosting server.It has a PHP 5.1.6
installed.With this he is able to include files only that are in the same directory(they work well using require() fn).If not an error message displaying some “no such file” in directory appears in the page.He would like to use them to be included in different direcetories.What should he do?

can you ask your friend to give you a copy of an “include” line of code that doesn’t work and then post?

i just asked him and thankfully his problem was already solved :slight_smile:
Thanks for offering to help