I am having trouble inserting the value for HTTP_USER_AGENT into a database. I can insert the date fine but I can't log HTTP_USER_AGENT. What do you have to do to insert the HTTP_USER_AGENT value?
Are you using the $_SERVER superglobal array?
You are having a problem.... so what is the problem?