You use a temp. gun to get a pretty accurate reading, as stated above.

Here's a good model (Temp gun):
http://www.reptilebasics.com/412l-thermometer