SA-MP Forums Archive
Multiple post request data - HTTP function - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Multiple post request data - HTTP function (/showthread.php?tid=325405)



Multiple post request data - HTTP function - iToast - 13.03.2012

I'm yet to find any information on how to make multiple post requests to a php script using HTTP, so like firstname and lastname using a SINGLE http request with HTTP();


Re: Multiple post request data - HTTP function - Vince - 13.03.2012

Код:
yourscript.php?page=index&first=John&last=Smith
PHP код:
$first $_REQUEST['first'];
$last $_REQUEST['last']; 



Re: Multiple post request data - HTTP function - iToast - 15.03.2012

Quote:
Originally Posted by Vince
Посмотреть сообщение
Код:
yourscript.php?page=index&first=John&last=Smith
PHP код:
$first $_REQUEST['first'];
$last $_REQUEST['last']; 
Thanks isnt that get btw