Re: Even more text document stuff!!

From: Date: Mon, 24 Sep 2001 16:08:30 +0000
Subject: Re: Even more text document stuff!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68547@lists.php.net to get a copy of this message
look into the following functions (in the manual), play with the examples then eventually implement the concepts into your script : file() fopen() fread() fgets() the manual entries for the above functions contain examples that essentially do what you want. most likely you'll use file(). you should get comfortable with arrays too. also, look into stristr(). regards, Philip Olson On Mon, 24 Sep 2001, Kyle Smith wrote: > Is i possible to make PHP "CUT" all of the contents of a text document out of it and > make it into a variable? > > (yes i know, i havnt got to the mySQL section of the book yet!!!) > > > > -lk6- > http://www.StupeedStudios.f2s.com > Home of the burning lego man! > > ICQ: 115852509 > MSN: dbzno1fan@hotmail.com > AIM: legokiller666 >

« previous php.general (#68547) next »