by Nic-Gun » May 11, 2006 @ 4:49am
correction again.. it didn't work.. it worked when i submit the data to a local server here. but when i submit it to the net the page doesn't seem to receive anything.
my portion of code :
at ClassMain::OnInit()
shared.ecd->net[0]->Init(ECONN_SOCKET, this);
and at ClassHighScore::SubmitHiScore()
char paramtemp[10];
EHTTPRequest request("http://maxsvr/burningarmor/hiscore_submit.php");
//EHTTPRequest request("http://www.burningarmor.com/bace/hiscore_submit.php");
request.AddParam("a", shared->playername);
ClassEStd::StrCpy(paramtemp, "");
ClassEStd::IntToStr(¶mtemp[strlen(paramtemp)], shared->currentlevel, 10);
request.AddParam("b", paramtemp);
ClassEStd::StrCpy(paramtemp, "");
ClassEStd::IntToStr(¶mtemp[strlen(paramtemp)], shared->redset.score, 10);
request.AddParam("c", paramtemp);
shared->ecd->net[0]->SendHTTPPost(&request);
do i need to add more code there?