Re: Reading files question
| From: | Beauford.2005 | Date: | Thu, 17 Jul 2003 02:53:10 +0000 |
| Subject: | Re: Reading files question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155715@lists.php.net to get a copy of this message | ||
I found the answer. I was looking through the PHP manual and found
htmlspecialchars() which did the trick.
B
-----Original Message-----
From: Beauford.2005 [mailto:beauford.2005@rogers.com]
Sent: July 16, 2003 8:50 PM
To: PHP
Subject: Reading files question
I have a file that has the 130 lines which follows the example below.
<Option Value="146">Barnaby
What I need to do is read this file, remove one line, add another line,
and then resave it. I have tried the different fget functions etc. to
read the file, but all I get is the name part and nothing else. I am
assuming it has to do with the <,", or = in the line, so how would I
read in the entire line.
TIA