Forums

PHP

This topic is locked

How to get a PHP file to be included across files in different directories?

Posted 03 Apr 2011 16:49:58
1
has voted
03 Apr 2011 16:49:58 sohel ahmed posted:
Currently I have created some php based webpages and uploaded them to my web hosting server.It has a PHP 5.1.6
installed.With this I am 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.I would like to use them to be included in different direcetories.What should I do?


Seattle airport limo
Edited by - sohel ahmed on 06 Apr 2011  22:45:21

Reply to this topic