How can I obtain the returned results from the url link sent?

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.