How to embed the query interface of the following address into the PHP page, and return the query results to my self-defined page

Source: Internet
Author: User
Tags ereg
How to embed the query interface of the following address into the PHP page and return the query results to my custom page?
Enquiry Address: HTTP://219.70.119.1/

If I embed the query criteria of the above query address into my PHP code and return the query results to my PHP query page?

Thank you!

------Solution--------------------
Using Curl
View form parameter impersonation submitted to
Return the results and then analyze and intercept the output to your own page.

------Solution--------------------
discuss

Reference:

Using Curl
View form parameter impersonation submitted to
Return the results and then analyze and intercept the output to your own page.


This part of the mock commit can already be processed, but how do you analyze the interception output to your own page?

------Solution--------------------
100 points won't impress you guys?

People just want a few simple answers ...
About this knowledge, I think I may not be able to give you typing clearly, so also please yourself to see the relevant information, really do not understand the post again to ask.

You can use Ajax to post or get data in accordance with his format to return results after processing. Then you don't have to look at curl to see the content of Ajax.


//=========================
About Curl

Http://www.zzsky.cn/build/content/1576.htm
Http://blog.51yip.com/php/1039.html

About PHP Regular
Regular things need to thank to master, this I can not very good grasp, although some information, has not spent time to learn
http://www.netimes.us/read.php?id=211

About Echo
The result is the result of the regular output. It doesn't need to be learned.
void Echo (String $arg 1 [, String $ ...])

------Solution--------------------
Recommended to see PHP100 Video tutorial 16th lesson, how to collect the site, very detailed, but the comparative basis

Http://www.php100.com/html/shipinjiaocheng/PHP100shipinjiaocheng/2009/0416/810.html

Content:

1, the first knowledge regular expression
^ ([a-za-z0-9_-]) +@ ([a-za-z0-9_-]) + (\.[ A-za-z0-9_-]) +
A syntax rule that describes the pattern of character arrangement and matching. It is used primarily for pattern segmentation, matching, finding, and substitution of strings.

2. Regular expression function ereg () eregi ()
Ereg (regular expression, content, returned array);
If the array returned by the omitted argument is found, the return value is True otherwise returns False
Ereg () Case-sensitive, eregi () no case-sensitive

3. file_get_contents read the entire file function

4, write a weather forecast thief's procedure


  • Related Article

    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.