Jump to content

php and flash


Rifts

Recommended Posts

Hey guys

 

I'm trying to make browser game and I was wondering if this is possible.

 

99% of the game is html/php/mysql but I wanted one little mini game to be in flash.

 

after playing the flash game if you win you get +1 of whatever to your account.

 

So my question is can someone program that cross over of flash back into php?

 

Thanks

Link to comment
Share on other sites

to talk to php thru the game is a simple URLLoader then you handle it just like you would handle a form or whatever in php :)

 

in order to keep it secure however you're probably gonna want to add in some sort of ticketing system.. that way someone with firebug won't abuse the url request :)

 

but the concept is still rather simplistic and shouldn't be very hard :)

Link to comment
Share on other sites

Thanks I will look into that..

 

I came across this

submit.onPress = function () { 
      getURL ("getVars.php", "_blank", "POST"); 
}  

 

and it seemed to work any thought on it?

 

its from a guide located here

 

hXXtp://www.kirupa.com/forum/showthread.php?t=101228

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.