The Daily Click ::. Forums ::. Non-Klik Coding Help ::. php
 

Post Reply  Post Oekaki 
 

Posted By Message

benb7760 - Plasmagem



Registered
  24/04/2003
Points
  357
23rd June, 2004 at 12:11:45 -

is there a way to send a command to a php script through mmf?

 
Plasmagem - http://www.plasmagem.com

No Investments, no risks, make money searching google
http://netbux.org/?r=46841

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
23rd June, 2004 at 12:43:16 -

Yup, use the MooSock object and the HTTP protocol. There's a very recent discussion about it here:
http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=uus&Number=241850&page=0&view=collapsed&sb=5&o=&part=

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
23rd June, 2004 at 17:50:25 -

I have some object called "default browser thingy" or something like that...
that way, you can just tell mmf to open, for example:

"http://www.eviscerator.tk/grabber.php?id=" + Str$( PlayerID ) + "&score=" + Str$( score( "Player 1" ) )

PlayerID is a global variable (in this case) and the score is the default score thingy for player 1...

then in the php file you could tell it to grab these variables with some get commands:

<?
$GrabbedPlayerID = $_GET['id'];
$GrabbedScore = $_GET['score'];
?>

then you can put the variables from mmf inside a database, or whatever you like ...

 
n/a

Imp of Hazard Games



Registered
  27/08/2003
Points
  781
5th July, 2004 at 18:03:20 -

Vitalize object can do that too. But if you can't allow the user to see the address (for example, when transfering passwords etc) you should use Moo stuff.

 
I need painters, musicians and animators!
   

Post Reply



 



Advertisement

Worth A Click