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: [EMAIL PROTECTED]
> AIM: legokiller666
> 



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