|
I'm am new to using php and POST/GET, I have been up all night and half th eday on forms trying to get this to work. Using POST/GET from JavaScript in Webplayer to .php file; How do I set up the data in the php file that is to be transfered? Here is part of my code fron the javascript within unity.
{
} What I don't understand is what to put in my test.php file. this is what I tried.
thanks for any help!
(comments are locked)
|
|
You'd use $_GET to retrieve the get parameters:
To send data back, use echo:
Here's a pretty decent example of both being used: http://www.unifycommunity.com/wiki/index.php?title=Server_Side_Highscores Thanks a lot! I think I got it now and thank you for the link. It is of great help.
Dec 22 '10 at 02:57 AM
Jason Goebel
(comments are locked)
|
