Re: [PHP] File pointers

2001-05-15 Thread Zef Hemel
for afaik the only way is to fgets($fp, 4096); Now you moved the pointer 1 line :-) Zef "Steve Wade" <[EMAIL PROTECTED]> schreef in berichtnieuws [EMAIL PROTECTED] > Any easy way to make the file pointer go up one line in a text file? > > (I am thinking of using ftell(), then working out the leng

[PHP] File pointers

2001-05-15 Thread Steve Wade
Any easy way to make the file pointer go up one line in a text file? (I am thinking of using ftell(), then working out the length of the line, and then fseek()?) Thanks :-) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sy