You coud make a mmropg...i think...if i got this right the program launguage is C ...(im more in to C++)... any way...you could tell c to wright your x and y and wright it on a server...then you could let php handel it and send it to MySQL...and then send it to a read file on the server...
sorry for my bad spelling...im only in 7th grade( and form Sweden:P)...
//Daniel