Re: writing / reading from text files
| From: | cyberskydive | Date: | Fri, 15 Feb 2002 16:42:54 +0000 |
| Subject: | Re: writing / reading from text files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84933@lists.php.net to get a copy of this message | ||
lol- so I use fseek() to move the file pointer before where I need to
write/replace/update a value? Is there a parameter for fseek to tell it to
move to a newline, or stop after a certain bytes?
"Rick Emery" <remery@excel.com> wrote in message
news:EAA093B474ABD311A71E00508B5FE08305C2D1C2@adntex03.us.excel.com...
> fopen(), fwrite(),fseek(),fread(),fclose()
>
> -----Original Message-----
> From: cyberskydive [mailto:cyberskydive@sunraydesigns.com]
> Sent: Friday, February 15, 2002 10:29 AM
> To: php-general@lists.php.net
> Subject: [PHP] writing / reading from text files
>
>
> I need to write to a specific line in a text file, read from a line on
> demand, and update values at random, I want to do this all in the same
text
> file.
>
> what is the best way to go about this?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php