Getting cellphone ID via WAP

171 views Asked by At

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?

1

There are 1 answers

2
Andy  Gee On BEST ANSWER

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";
}