Reputation: 368
i want IMEI number using php program when android device access my php url.
Upvotes: 1
Views: 4626
Reputation: 1835
A server doesn't know anything about a connected client until the client sends it, in any case. Client data is typically provided by the browser within standard HTTP request headers. General purpose browsers don't send IMEI numbers, so no, this isn't possible in your typical Web App scenario where requests come from standard browsers which a web service has no control over.
Also note that a device's IMEI number isn't exposed to javascript in standard browsers either.
Upvotes: 1
Reputation: 958
You can use Corodova device API to get device UDID this can be used to send to server.
Upvotes: 2