Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2006

    Lightbulb Need header help for Wap 2.0

    Hello Friends

    I have made application in Wap 2.0 with PHP
    Now in that if I pass below header then it is working fine in Nokia 7610 But then it is not working in Nokia N73.

    PHP Code:
    header("Content-type: text/html");
    header("Content-type: application/xhtml+xml");
    header("Content-type: application/vnd.wap.xhtml+xml");
    header("Content-type: text/vnd.wap.wml"
    And If i remove below headers from php file then it is working fine in Nokia N73 and then it will not work for Nokia 7610

    PHP Code:
    header("Content-type: application/vnd.wap.xhtml+xml");
    header("Content-type: text/vnd.wap.wml"); 
    So what should be the problem??

    Nokia N73 is latest N Series Model.. It supporting everything
    Nokia 7610 is also suppportin wap2.0 XHTML/ HTML both..

    Then also both are needed different headers..

  2. #2
    Registered User
    Join Date
    Jun 2006

    Re: Need header help for Wap 2.0

    Your sending too many headers and confusing the phones.
    In essence your telling the phone your page is wml,html and Xhtml.

    Only send the required header depending on the markup language of your page.

    So if your serving wml pages send 'text/vnd.wap.wml'

    if your serving Xhtml pages send either application/vnd.wap.xhtml+xml or application/xhtml+xml which ever is declared in the accept header
    Mobile Internet Solutions

  3. #3
    Registered User
    Join Date
    Sep 2007

    Re: Need header help for Wap 2.0

    web browser
    do not support wml


    services browser
    support wml

Similar Threads

  1. Create and read SMS User Data Header
    By StumpiDK in forum General Messaging
    Replies: 3
    Last Post: 2009-11-25, 08:34
  2. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  3. Replies: 6
    Last Post: 2008-05-15, 07:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts