Hi

Can anyone help.

I’ve got a Nokia N91 and I’m trying to read it’s HTTP_X_WAP_PROFILE or it’s HTTP_PROFILE but I just can’t find it.

I’ve tried reading $SERVER["HTTP_X_WAP_PROFILE"] and $SERVER["HTTP_PROFILE"] which is how I read the HTTP_USER_AGENT which works fine but in both cases I get nothing for the wap headers.

Also I've tried a couple of emulators with the same "blank" result, I know I'm doing something wrong but can someone tell me what???

Thanks

Brian V2

    Have you tried using $SERVER['HTTP_USER_AGENT']? As with most of these HTTP* values, there is no guarantee that the client will send it, however.

      Thanks for coming back

      Yes I can read the user agent $_SERVER["HTTP_USER_AGENT"] fine I've even tiied printing out all the server variables - but still no wap headers.

      This is the code I use for that is
      foreach($_SERVER as $varName => $value) {
      $dv=$value;
      print "Variable: $varName Value: $dv <br />";
      };
      The code works ok but does not print the wap headers

      I've also tried the Yospace emulators of using different phones and still no joy. This does point to me doing something wrong but I can't see what.

      Cheers
      Brian V2

        Write a Reply...