>
> Marcos wrote:
>
> >     index.php
> >         include ('info.html)
>
> I think
>
>      readfile($inputFileName);
>
> would be a better option.
>

FYI

You might want to add headers using header() with readfile().

PHP does not parse with readfile(), so it is more efficient. i.e. PHP does
not look for <?php ?>.
(I use include() always, though)

Regards,

Yasuo Ohgaki

-- 
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