How to obtain the returned results from the url link sent? this post is edited and referenced by the reference user from huoshi5151 at 2013-01-, and the platform game center initiates a request to the game, to obtain whether the game is activated. if the game is activated, recharge the game. Otherwise, an error is returned. Example url & how to obtain the returned results from the url link
This post was last edited by huoshi5151 at 21:17:29 Reference
The user clicks "recharge". the platform game center sends a request to the game party to obtain information about whether the game is activated. if the game is activated, the game is recharged. Otherwise, an error is returned.
Example url:
Http: // domain/api/active? Qid = 28318249 & server_id = S1
Result returned by the game: the user has activated this partition and returns 1; otherwise, 0 is returned.
How can I obtain the returned results from the sent url link? Url php
------ Solution --------------------
Curl or ajax can be used for all get actions