Forum Moderators: coopster
also, this doesnt happen all the time, just occasionally.
On several of my pages using this value, although Im not checking if it exists (which i think is most of my problem). When the function is called that uses this value, i get error log email, reporting that
"Undefined index: HTTP_USER_AGENT"
on the line number that the $_SERVER variable is used.
What should I do if something (web crawler possibly?) is hitting my website and not reporting a user agent. Im tempted to just do a redirect if this value isnt set.
comments?