I'm trying to get my php to write info to the top of a text file instead of just continuing where the last entry was.
E.G. I have a script that takes a visitor's IP and writes it to a text file. I can display the text file via php to list all the visitor IP #s but the latest visitor is at the bottom of the list and I want it at the top. Any ideas?
www.phpbuilder.com/forum/read.php3?num=2&id=132368&loc=0&thread=132291
or see Vincent's YAPF (Yet Another PHP FAQ) at... hmm, can't find the URL, maybe Vincent will chime in here.