[UFO Chicago] PHP Programming Problem

Nate Riffe inkblot@geocities.com
Sun, 26 Aug 2001 15:09:53 -0500 (CDT)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey UFO,

I've got a problem in need of a solution.  I need to write a function in
PHP that will quickly and efficiently read a random line from a text file
that is close to 50K lines long.  Just one line, at random.  It needs to
be fast because it will get called about 300 times per page load.  Any
takers?

- -Nate

- ------------------------------------------------((\))<----------------------
Nate Riffe                 | PGP public key available at:
http://movealong.dhs.org/  | http://movealong.dhs.org/~inkblot/pgp-key.asc
inkblot@geocities.com      |
nriffe@students.depaul.edu | Secure your email today!

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBO4lXnojJNqeHAZR4EQJqugCbB4nkwem+/YzC7+sNWyRhm4laF5cAn2vL
D6ZZ02EL0mjGF+VGGedVDqrQ
=vOSa
-----END PGP SIGNATURE-----