I've just finished writing a PHP command line script which reads a squid access log file and puts each log entry into a database.
The script appears to be working fine, but I am quite sure a critical eye on my coding techniques wouldn't do any harm.
The script can be found in UNIX file format here:
http://www.sccode.com/squid_project/insertdb2.phps
Thanks.