Mobile Blackjack

Started on the old forum in July 2011 · view the original in the archive · old links redirect here

19 replies · 1,395 views · started 15 years ago · 1 min read

6 participants
nonani Developer · 64 posts #1

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?

arnage Lead · 811 posts #2

Perhaps you meant to xhtml.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
nonani Developer · 64 posts #3

arnage wrote: Perhaps you meant to xhtml.

That's right....something that the mobile browser can read it. 🙂

arnage Lead · 811 posts #4

U can do it easy by yourself, change this:

header("Content-type:text/vnd.wap.wml");

with

header("Content-type:application/xhtml+xml");

this

echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">\n";
echo "<wml>\n";

with

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

echo "<card id=\"index\" title=\" PLAY 21\">\n";

with

echo "<title>\"PLAY 21\"></title>\n";

this

echo "</card>\n";
echo "</wml>\n";

with

echo "</body>\n";
echo "</html>\n";

and wml form to xhtml.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
nonani Developer · 64 posts #5

subzero,

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

mobidev Senior · 312 posts #7

nonani wrote: 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......

metulj Super moderator Principal · 1,726 posts #8

mobidev wrote: 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 ... 8P *and btw... most todays browsers would read WML, IE(any version), and chrome are two of the rare who doesnt *😳 *

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ノ刀ノイリ!

mobidev Senior · 312 posts #9

metulj wrote: strange... i always thought that WML stands for *Wireless Markup Language ... 8P *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

arnage Lead · 811 posts #11

Ok, post here that what u have tried.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
nonani Developer · 64 posts #12
echo '<form action="index.php?'.$ses.'" method="post">
<input type="text" name="mn" value="mn'.$ref.'"/>
<input type="submit" value="Continue"/>
</form>'; 
nonani Developer · 64 posts #13

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

subzero Super moderator Fellow · 3,954 posts #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... _______…

nonani Developer · 64 posts #16

of coz $5 for real...the form format must be working for mobile browser...else no pay...:)

subzero Super moderator Fellow · 3,954 posts #17

Here what your looking for and that $5 is useless to me mate just hit thanks

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... _______…

Attachments: index.zip
nonani Developer · 64 posts #18

subzero wrote: Here what your looking for and that $5 is useless to me mate just hit thanks

Downloaded and tried....it is not working... When i put in the amount of bet and click continue...it returns this message "(!) you have not specified a bet."

Can you please take a look?

arnage Lead · 811 posts #19

Add _POST after form.

$mn = $_POST['mn'];
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close