Question

I have a Motorola i475w and I want to do a WAP website that gets my cellphone's ID when I access it. The website uses PHP and WML. How can I get cellphone's ID using WML/PHP?

Was it helpful?

Solution

Well you can only look at the headers. Sometimes the IMEI number is sent along with the headers but they are not guaranteed to be present.

foreach (getallheaders() as $name => $value) {
    echo "$name: $value\n";
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top