The-New-Science-of-Pain-Relief has a nice introductory walkthrough of the basic neurology of pain here.
Philosophers will, of course, carefully take note the role of C nociceptive afferents.
"You've by now no doubt discovered my abiding interest in pain. I'm presently writing the definitive work on the subject." --The Princess Bride