[thelist] PHP, include() and relative links

Anthony Baratta Anthony at Baratta.com
Fri May 25 11:58:42 CDT 2001

At 09:40 AM 5/25/2001, you wrote:
>Could anyone tell me how to use absolute roots - if that's the right way of
>putting it - and the include command in PHP, or am I trying to do the
>I want to be able to include a file called template.php located in a files
>directory. I want this file to be included by several different files held
>in different directories. I thought this could be acheived using
>include("/file/template.php") but it doesn't seem to want to work.
>Please could someone show me the error of my ways.


Anthony Baratta
Keyboard Jockeys

More information about the thelist mailing list