Mobile Blackjack

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mobile Blackjack

    I googled it and think this is nice for sharing.
    This blackjack script is written in wml format, can someone help to convert it to php?
    Attached Files

    #2
    Perhaps you meant to xhtml.
    <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

    Comment


      #3
      Originally posted by arnage View Post
      Perhaps you meant to xhtml.
      That's right....something that the mobile browser can read it.

      Comment


        #4
        U can do it easy by yourself, change this:

        PHP Code:
        header("Content-type:text/vnd.wap.wml"); 
        with
        PHP Code:
        header("Content-type:application/xhtml+xml"); 
        this
        PHP Code:
        echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">\n";
        echo 
        "<wml>\n"
        with
        PHP Code:
        echo '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">';
        echo 
        '<html xmlns="http://www.w3.org/1999/xhtml">'
        this
        PHP Code:
        echo "<card id=\"index\" title=\" PLAY 21\">\n"
        with
        PHP Code:
        echo "<title>\"PLAY 21\"></title>\n"
        this
        PHP Code:
        echo "</card>\n";
        echo 
        "</wml>\n"
        with
        PHP Code:
        echo "</body>\n";
        echo 
        "</html>\n"
        and wml form to xhtml.
        Last edited by arnage; 24.07.11, 08:11.
        <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

        Comment


          #5
          subzero,

          Thanks for the conversion.
          The most challenging part is the wml form to xhtml
          Can you please help on this?

          Comment


            #6
            Its the only thing u need to do, see these:

            SendingDataToServer
            InputElements
            <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

            Comment


              #7
              Originally posted by nonani View Post
              That's right....something that the mobile browser can read it.
              most mobile browsers will read .wml as wml stands for wireless mobile language....... just depends on certain nokias you get wap bowser and web browser the web browser wont understand the wml only the wap browser will. my nokiaE61 has both browsers......
              My site: http://mimobifunclub.tk
              sigpic

              Comment


                #8
                Originally posted by mobidev View Post
                most mobile browsers will read .wml as wml stands for wireless mobile language....... just depends on certain nokias you get wap bowser and web browser the web browser wont understand the wml only the wap browser will. my nokiaE61 has both browsers......
                strange... i always thought that WML stands for
                Wireless Markup Language ...
                and btw... most todays browsers would read WML,
                IE(any version), and chrome are two of the rare who doesnt
                Last edited by metulj; 27.07.11, 21:02.
                It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
                ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
                ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
                キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

                Comment


                  #9
                  Originally posted by metulj View Post
                  strange... i always thought that WML stands for
                  Wireless Markup Language ...
                  and btw... most todays browsers would read WML,
                  IE(any version), and chrome are two of the rare who doesnt
                  ooops sorry i made a booboo lol thx for correcting me i was just thinking mobile and i texted it mobile instead of markup
                  My site: http://mimobifunclub.tk
                  sigpic

                  Comment


                    #10
                    Originally posted by arnage View Post
                    Its the only thing u need to do, see these:

                    SendingDataToServer
                    InputElements
                    Thanks for the info....i tried but still not working...sorry..i am not a good coder.

                    Comment


                      #11
                      Ok, post here that what u have tried.
                      <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

                      Comment


                        #12
                        PHP Code:
                        echo '<form action="index.php?'.$ses.'" method="post">
                        <input type="text" name="mn" value="mn'
                        .$ref.'"/>
                        <input type="submit" value="Continue"/>
                        </form>'

                        Comment


                          #13
                          I am willing to pay you $5 if you can convert this wml form to xhtml form.
                          Payment via Paypal only.

                          Comment


                            #14
                            anyone? please

                            Comment


                              #15
                              $5 for real ?

                              lol ok wait i will convert this for you...
                              Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                              Visit: WapMasterz Coming Back Soon!
                              _______
                              SCRIPTS FOR SALE BY SUBZERO
                              Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                              FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                              _______
                              Info & Tips
                              php.net
                              w3schools.com

                              Comment

                              Working...
                              X