Re: [PHP] fputs / fwrites

2003-02-04 Thread Jason Wong
On Wednesday 05 February 2003 15:00, Lee Herron wrote: > Okay, so I want to open a file, get a small number from it (less than 3 > digits) then overwrite a new number (incremented the original by 1) and > close the file. > > The goal is to do this in the fastest way possible .. it seems that there

[PHP] fputs / fwrites

2003-02-04 Thread Lee Herron
Okay, so I want to open a file, get a small number from it (less than 3 digits) then overwrite a new number (incremented the original by 1) and close the file. The goal is to do this in the fastest way possible .. it seems that there should be a way of doing this without having to open and close t

Re: [PHP] fputs / fwrites ?

2003-01-31 Thread Maxim Maletsky
Please, don't hijack(*) the threads. (*) Hijack a thread - replying to an email from the usergroup modifying its subject and body making it look like a new post. Emails have also the in-reply-to headers which make the threads visualize in mail clients as the follow ups, although was intended as a

[PHP] fputs / fwrites ?

2003-01-31 Thread Lee Herron
Okay, so I want to open a file, get a small number from it (less than 3 digits) then overwrite a new number (incremented the original by 1) and close the file. The goal is to do this in the fastest way possible .. I don't like having to open the file more than once to do this. I've tried: $cfile