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 length of the line,
> and then fseek()?)
>
> Thanks :-)
>
> swadie
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Steve Wade
> Youth Outreach Coordinator
> Fusion Australia Ltd (Sydney North)
> ABN 26 001 273 105
> +61 2 9477 1110
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to