Iphone 4s, iphone 4, iphone 3gs, and iphone 3g: remove the sim tray and you will find the imei or meid printed, as well as the serial.
iPhone 4s, iPhone 4, iPhone 3GS iyo iPhone 3G: Ka saar saxaaradda SIM-ga waxaadna ka heli doontaa IMEI iyo lambarka taxanaha ah oo la daabacay.