Game Develop C++ Platform: NetworkTools.h File Reference

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Functions
NetworkTools.h File Reference
`#include <string>`

Go to the source code of this file.

## Functions

void GD_API | SendDataToPhpWebPage (const std::string &webpageurl, const std::string &password, const std::string &data1, const std::string &data2, const std::string &data3, const std::string &data4, const std::string &data5, const std::string &data6)
void GD_API | DownloadFile (const std::string &host, const std::string &uri, const std::string &outputfilename)

## Detailed Description

Game Develop 2008-2013 Florian Rival (Flori.nosp@m.an.R.nosp@m.ival@.nosp@m.gmai.nosp@m.l.com)

## Function Documentation

void GD_API SendDataToPhpWebPage | ( | const std::string & | webpageurl,
|  | const std::string & | password,
|  | const std::string & | data1,
|  | const std::string & | data2,
|  | const std::string & | data3,
|  | const std::string & | data4,
|  | const std::string & | data5,
|  | const std::string & | data6
| ) |  |

Send data to a php web page. To prevent sending hacked data ( like a modified hi score ) a md5 checksum is applied on the data+a password defined by the developer Php web page has to known the same password, and will applied md5 ont on the data+the password to be sure data were not modified.