Getting turing to send scores to a PHP script?

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
Anonymous

Getting turing to send scores to a PHP script?

Post by Anonymous »

Hi, i'm trying to get turing to send a score and name to a php script, witch will then send it to mysql, but how would I go abouts to sending the score? Maybe if I make 2 different php scripts and make the score go to one and the name to the other? Please help.

Archived topic from Iceteks, old topic ID:4079, old post ID:33496
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Getting turing to send scores to a PHP script?

Post by Red Squirrel »

Does turing support tcp networking? Just have it send a HTTP POST request to the server. Ex:

Code: Select all

POST /folder/script.php?act=submit HTTP/1.1
HOST: site.com
user-agent: your program name

variable1=value1&variable2=value2
[code]

Something like that, you'd have to look it up further as I might of got the HTTP stuff wrong. 

[color=#888888][size=85]Archived topic from Iceteks,  old topic ID:4079, old post ID:33497[/size][/color]
Honk if you love Jesus, text if you want to meet Him!
Locked