Read the manual. (Déjà vu?)
http://www.php.net/manual/en/function.fread.php
Even has an example that says -- "get contents of a file into a string"
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 7:42 PM
To: [EMAIL PROTECTED]
Subject:
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()
2 matches
Mail list logo