F
fourscore22
Guest
entry, use a session var? For a php script that will be logging actions and may experience very high hits, what is the best way to record those logs? I would think that writing to a file would be faster than a db entry. But how about storing things in a session var and only writing it out every 5 minutes or something? Is there some way to do that without losing data if a user abandons the session before 5 minutes? Is the session even faster or does that increase load too much? As for a file write: What is the best way, use system, or exec, or fwrite or what?
Thanks.
Thanks.