24.02.2016, 09:40
Just i'am using post and get methods get information that is not important at all, just i'am for example loading player xp and money (in php file) and need send it to my sa-mp server all data received from php.
Imagine i have website and user click button then i call to php file adding name of that user and i want to send to my sa-mp server data that in public i could get it for ex:
I do something in php file
Imagine i have website and user click button then i call to php file adding name of that user and i want to send to my sa-mp server data that in public i could get it for ex:
Код:
public ReceiveDataFromPhp( data[] ) { printf("This user: %s clicked button in your website!", data[ username ] ); }
Код:
<?php $username = $_GET["name"]; And in some way send $username as data parameter ?>