26.09.2017, 16:00
I mean, it is $_POST['fieldname'] for a form for example, but at samp we have
For example if I want to send a string:
Do I use it like this:
And if yes, how do I get the string in php? $_POST['string'] ? I assume this won't work because instead of the variable I can just write "some string".
PHP код:
HTTP(playerid, HTTP_POST, "kc.gd/hello.php", POST_DATA_HERE, "MyHttpResponse");
PHP код:
new string[10] = mystring;
PHP код:
HTTP(playerid, HTTP_POST, "kc.gd/hello.php", string, "MyHttpResponse");