12.11.2014, 13:33
(
Последний раз редактировалось dusk; 14.11.2014 в 12:59.
)
I'm not quite sure if this is the right forum for it. If it is not, sorry!
I send a HTTP request to get the number of users online in my forum.
Output from the print:
It seems that the URL is malformed like the response code says.. but it isn't. I've run the same code on my Linux VPS and it worked perfectly. So I'm assuming something blocks that request on my local machine(still no idea why it says the url is malformed).
I'm running Windows 7 and I checked the firewall. samp-server.exe is not blocked.
Any ideas on why could this be happening? What else could block it?
I send a HTTP request to get the number of users online in my forum.
pawn Код:
forward OnForumMembersOnlineReceived(index, response_code, data[]);
public OnForumMembersOnlineReceived(index, response_code, data[])
{
DebugPrint("OnForumMembersOnlineReceived(%d,%d,%s)",index, response_code, data);
}
task GetForumUsersOnline[30000]()
{
new ret = HTTP(1, HTTP_GET, "77.241.198.132/ForumMembersOnline.php/", "", "OnForumMembersOnlineReceived");
}
Quote:
OnForumMembersOnlineReceived(1,6,) |
I'm running Windows 7 and I checked the firewall. samp-server.exe is not blocked.
Any ideas on why could this be happening? What else could block it?