Forums / General / Error when including php file

Error when including php file

Author Message

Philip K.

Wednesday 07 December 2005 1:55:43 am

Hi.

I want to use a php-script in my website. the scrips works fine, but sometimes I get an error message when someone visits the site.

I included the file into the <ezdir>/index.php

include($DOCUMENT_ROOT. "/myfile.php");

Could there be some problems when I edit the index.php file??

Thanks for your help...

Linux is like a wigwam; no windows, now gates, and apache inside!

Philip K.

Wednesday 07 December 2005 1:58:07 am

I forgot to point out, that the error isn't displayed by every visit of the site. it is shown only sometimes.

Linux is like a wigwam; no windows, now gates, and apache inside!