[thelist] stupid php include question

Diane Soini dianesoini at earthlink.net
Thu Feb 26 20:42:42 CST 2004


Of course. How stupid of me. Thank you so much for the help.

On Wednesday, February 25, 2004, at 10:38 PM, 
thelist-request at lists.evolt.org wrote:
>
> Just use $_SERVER['DOCUMENT_ROOT']; in your include:
>
> <?php
> include($_SERVER['DOCUMENT_ROOT'].'/path/to/file.htm');
> ?>
***
Don't be afraid to try something new. An amateur built the ark. 
Professionals built the Titanic. -unknown



More information about the thelist mailing list