Re: includes
| From: | David Robley | Date: | Tue, 13 Mar 2001 03:22:04 +0000 |
| Subject: | Re: includes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43602@lists.php.net to get a copy of this message | ||
On Tue, 13 Mar 2001 13:45, Rick St Jean wrote:
> I am looking for a simple way to include a file and not have it parsed.
> But I also do no want to strip out the html and php. Is there a way
> to do a nice and simple include and set parsing to false?
>
> Right now I use a fopen and fgets to read from the file.
>
> include() will parse it and execute it.
>
> All I want to do is include it raw... any ideas?
>
> Rick
Readfile() might do what you want.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA