How can I embed the following address query interface into the PHP page and return the query results to my customized page?

Source: Internet
Author: User
Tags ereg
How can I embed the following address query interface into the PHP page and return the query result to my custom page? Query address: http: // 219.70.119.1/If you embed the query conditions of the preceding query address into my PHP code, and return the query results to my PHP query page at the same time? Thank you !, Using curl to view form parameters and simulate submission to & lt how can I embed the query interface of the following address into the PHP page and return the query results to my custom page?
Query address: http: // 219.70.119.1/

If I embed the query conditions of the above query address into my PHP code and return the query results to my PHP query page at the same time?

Thank you!

------ Solution --------------------
Use curl
View the simulated submission of form parameters
The returned results are analyzed and then output to your own page.

------ Solution --------------------
Discussion

Reference:

Use curl
View the simulated submission of form parameters
The returned results are analyzed and then output to your own page.


This part of analog submission can be processed, but how can I analyze and extract the content to my own page?

------ Solution --------------------
Isn't it possible to impress you guys at 100?

People just need a few simple answers...
I think I may not be able to clearly type the information for you, so please check the relevant information on your own. I really don't understand it and then post it again.

You can use ajax to post or get the returned results based on the format of post or get. then you do not need to read the content of ajax through curl.


// ================================
About CURL

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

PHP regular expressions
Regex requires many thanks for your understanding of the regular expression. I cannot master it myself. although I have never spent much time learning some documents.
Http://www.netimes.us/read.php? Id = 211

About ECHO
Output results after regular expression. you don't need to learn this.
Void echo (string $ arg1 [, string $...])

------ Solution --------------------
We recommend that you read the PHP100 video tutorial lesson 16th, which describes how to collect websites. it is very detailed, but it is relatively basic.

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

Content:

1. Regular expression first recognized
^ ([A-zA-Z0-9 _-]) + @ ([a-zA-Z0-9 _-]) + (\. [a-zA-Z0-9 _-]) +
A syntax rule used to describe character arrangement and matching modes. It is mainly used for string mode segmentation, matching, search and replacement operations.

2. Regular expression function ereg () eregi ()
Ereg (regular expression, content, returned array );
If the array returned by the parameter is omitted, the return value is True. otherwise, False is returned.
Ereg () is case sensitive and eregi () is case insensitive.

3. the file_get_contents function reads the entire file.

4. write a program for weather forecasting thieves


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.