Re: Calling text files
| From: | Dallas Kropka | Date: | Tue, 17 Oct 2000 08:18:12 +0000 |
| Subject: | Re: Calling text files | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20532@lists.php.net to get a copy of this message | ||
also check the fopen() functions on www.php.net
----- Original Message -----
From: "David Robley" <huntsman@hermes.nisu.flinders.edu.au>
To: <Website4S@aol.com>; <php-general@lists.php.net>
Sent: Monday, October 16, 2000 11:03 PM
Subject: Re: [PHP] Calling text files
> On Tue, 17 Oct 2000, Website4S@aol.com wrote:
> > Hi,
> >
> > This is just a little question, but I just wanted to check it was
possible
> > before I start programming. Is it possible to call a xxxx.txt file which
> > contains text to be displayed on a page, the reason I want to do it this
way
> > is it would be easier for the site administrator to simply edit a text
file
> > than to edit text in a .php file.
> >
> > Thanks for any info
> >
> > Ade
>
> Require() or include() will do what you want. You might need to make some
> additions to your include_path settings.
>
> --
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>