Jump to content

[SOLVED] Php & Flash?


eaglelegend

Recommended Posts

I'm wanting to "borrow!" a flash games from sites, and have the sends their score and it inserts it into the database, even thought the game is not made/from my site? I have seen it work on other sites, I am unsure on mine, bte, the code below isnt mine, but I borrowed it from another topic as it is a good example, althougt that person made theirs :/

 

on(press) {
getURL("maze1.php", "score");
}

 

Maze 1 is:

 

<?
  if ($msg == 1) {
  print"<BR><BR><P align=center><font face='Arial, Helvetica, sans-serif' size=2>You have earned $mds Points.</font></P>
  <P align=center><font face='Arial, Helvetica, sans-serif' size=2><a href=games.php>Play Again</a></font></P>";
    
  }
  
  if ($error == 2) {
  print"<BR><BR><P align=center><font face='Arial, Helvetica, sans-serif' size=2>Sorry, your score does not count as you have already submitted it more then the 7 times. You can play as many times as you want but you can only submit your score 7 times.</font></P>
  <P align=center><font face='Arial, Helvetica, sans-serif' size=2><a href=games.php>Play Again</a></font></P>";
    
  }
  
  ?>

Link to comment
https://forums.phpfreaks.com/topic/106312-solved-php-amp-flash/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.