A
AliBahrami
Guest
I have a domain name and the code works perfectly on it. When I try to use localhost instead of the url, I cannot.
So the problem must lie in the wamp, which I use, and the comminucation and ports.
code in game maker studio :
input_team = get_string("Enter your team name", "")
input_pass = get_string("Enter your pass", "")
send = "name=" + string(input_team) + "pass=" + string(input_pass)
post = http_post_string("http://www.bahramiehsan.com/check_inputs.php?", send)
code in php:
<?php
$obj->tacticT = 3;
$obj->bodyT = 4;
$obj->goalT = 1;
$j = json_encode($obj);
echo $j;
return $j;
when I remove the url and add localhost, even I copy and paste it in browser and it works, game maker cannot do the right thing.
Thanks for any help
So the problem must lie in the wamp, which I use, and the comminucation and ports.
code in game maker studio :
input_team = get_string("Enter your team name", "")
input_pass = get_string("Enter your pass", "")
send = "name=" + string(input_team) + "pass=" + string(input_pass)
post = http_post_string("http://www.bahramiehsan.com/check_inputs.php?", send)
code in php:
<?php
$obj->tacticT = 3;
$obj->bodyT = 4;
$obj->goalT = 1;
$j = json_encode($obj);
echo $j;
return $j;
when I remove the url and add localhost, even I copy and paste it in browser and it works, game maker cannot do the right thing.
Thanks for any help