> when I include the statement <? include ("foo.php"); ?> then rather than
> parsing the file and displaying the results the whole file is just dumped to
> screen as a text file.  Interesting the same problem occurs whatever the
> file extension so the same thing happens for foo.htm, foo.html and foo.txt!

>From PHP manual:

The require() statement replaces itself with the specified file, much like the C 
preprocessor's #include works. 

--
 - Castus Ilarius, Magister Ludi Machinationis

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to