• Advertisement
Sign in to follow this  

Save game data on servers

This topic is 3811 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was wondering what the best way would be to save data on a server. I am thinking i want my program to use a lib (my own or someone else), have the user enter a server and a user/pw if necessary then have the app load/save data to & from the server. The data will be small, less then a mb, most likely under 64k. and i am thinking i want a php page to be the server which handles the user/pw, storing and receiving the file on server. what would the best way to do this? i have no idea how to connect to a web page nor send post data. what lib might i want to use for this? and how would handle the commends from the app in the php file?

Share this post


Link to post
Share on other sites
Advertisement
libcurl allows you to get web pages and send post data.

You handle user, password, and any other parameter from the program just like you would handle it from a web browser in the PHP script.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement