Re: [PHP] writing / reading from text files

2002-02-15 Thread Lars Torben Wilson
K_CUR - Set position to current location plus offset. > > SEEK_END - Set position to end-of-file plus offset. > > > > -Original Message- > > From: cyberskydive [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 15, 2002 10:43 AM > > To: [EMAIL PROTECTED

RE: [PHP] writing / reading from text files

2002-02-15 Thread Rick Emery
plus offset. > > -Original Message- > From: cyberskydive [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 15, 2002 10:43 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] writing / reading from text files > > > lol- so I use fseek() to move the file pointer before w

Re: [PHP] writing / reading from text files

2002-02-15 Thread cyberskydive
t; > -Original Message- > From: cyberskydive [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 15, 2002 10:43 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] writing / reading from text files > > > lol- so I use fseek() to move the file pointer before where I need to >

RE: [PHP] writing / reading from text files

2002-02-15 Thread Rick Emery
] Subject: Re: [PHP] writing / reading from text files 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" <[EMAIL PROTECTED]>

Re: [PHP] writing / reading from text files

2002-02-15 Thread cyberskydive
IL PROTECTED]... > fopen(), fwrite(),fseek(),fread(),fclose() > > -Original Message- > From: cyberskydive [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 15, 2002 10:29 AM > To: [EMAIL PROTECTED] > Subject: [PHP] writing / reading from text files > > > I

RE: [PHP] writing / reading from text files

2002-02-15 Thread Rick Emery
fopen(), fwrite(),fseek(),fread(),fclose() -Original Message- From: cyberskydive [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 10:29 AM To: [EMAIL PROTECTED] Subject: [PHP] writing / reading from text files I need to write to a specific line in a text file, read from a

[PHP] writing / reading from text files

2002-02-15 Thread cyberskydive
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