(08 Jan 11, 08:06PM)Drakas Wrote: How about prepared statements?
And what's wrong with reading the logfile continuously? (hint: you could even use 'tail -n 0 -f logfile.txt')
Well depending on how fast the log is scrolling tail might miss some things :P and reading the whole log file can get to be a resource hog when the log file grows in size. If your only doing it every so often its fine but my objective in creating the php pipe was to process the stats in real time so real time stats on the current game as well as long term stats could be provided.