Re: Calling text files

From: Date: Tue, 17 Oct 2000 07:27:21 +0000
Subject: Re: Calling text files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20554@lists.php.net to get a copy of this message
Hello, I think what you want is, fpassthru(); This function takes a file and outputs the conntents directly to the browser! Stefan "Zipkid" Goethals 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 > > -- > 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 -- Stefan - Zipkid - Goethals YourNet - Open source web design & Site management. http://www.yournet.be mailto:stefan@yournet.be

« previous php.general (#20554) next »