Php $_POST through web url?
Has anyone tried this? Where you send variables into a PHP script through the URL that you open with your GS game? I thought it would be an interesting way to log how many users play per day. You could write a script to tell your server +1 to a MySQL table every time the user opens the game. I thought it would also be cool if the user wants to subscribe to a newsletter.
Best Answers
-
simo103 Posts: 1,331
@mikelowe ... I'm with you on wanting the URL to be more flexible .. it's not just analytics ... all kinds of database driven stuff could be done ... so I'm hoping it is considered for a future release, can't see how allowing the url to contain attributes would take much time to implement at all. -
scitunes Posts: 4,047
This is probably my greatest wish. I really want to be able to make a web version of sciTunes Human Body curriculum. Basically I want to make an interactive textbook with my science games built right in, but I want to be able to have the students' scores sent to a database where the teacher can track the their students' progress. Without the ability to send attributes I'm out of luck. I would also need to have html5 projects that were bigger than the curent iphone landscape size.
Answers
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
And yes, there are many possibilities, such as allowing the user to sign up for an email newsletter.
But all they need to do is make the URL field have access to the attributes browser
Fingers crossed that GS opens that up sometime soon.