×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    1

    I can't display php page on S40 emulator!!!

    Hi
    Can someone tell me why i cannot view a php page in S40? When i tried to view the page it simply asked me where i want to download it and when I download the page and try to see it i get the following error "File Format Not Supported".
    Thanks

  2. #2
    Registered User
    Join Date
    Nov 2006
    Posts
    2

    Re: I can't display php page on S40 emulator!!!

    look here: http://www.cyprich.com/2006/05/02/us...-mobile-xhtml/

    Using PHP to generate a ‘Hello’ in XHTML MP:

    PHP Code:
    <?php 
        
    // send XHTML MP headers 
        
    echo( "<?xml version=\"1.0\" encoding=\"UTF-8\"?> 
        <!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">" 
    );

        
    // begin XHTML MP
        
    echo ( "<html> 
                    <head> 
                        <title>EXAMPLE XHTML PAGE</title> 
                    </head>

                    <body>
                        <p>Hello World</p>
                    </body>
                </html> " 
    );
    ?>
    Last edited by m1dp1d; 2006-11-08 at 13:31.

Similar Threads

  1. S40 Emulator
    By moshiko1000 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-10-23, 21:10
  2. Replies: 0
    Last Post: 2005-02-17, 06:15
  3. How to display Tab Page control?
    By bittony in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-02-15, 07:48
  4. Replies: 1
    Last Post: 2003-10-30, 06:38
  5. Page cannot be display (urgent)
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-16, 02:06

Posting Permissions

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