The codes I know of and have tested are as follows:
- *#0000# gives your phone's firmware revision number and date.
- *#06# gives your phone's IMEI number.
These codes apparently work on all Nokia phones. I have only tested this code to work on a Nokia 7110, Nokia 6210, and Nokia 8250: