[Php]Class Curl { /** Get access to the specified address* @ Param string url the address to be accessed* @ Param string cookie: The storage address of the cookie. If no cookie exists, no cookie is sent.* @ Return string curl_exec () information
CURL.1 manual page
Name
Curl-transfer a URL
Summary
curl[options] [URL ...]
Describe
CURL is a tool that transmits data to or from the server, which supports HTTP, HTTPS,
Protocols such as FTP, FTPS, SCP, SFTP, TFTP, DICT, TELNET, LDAP, or
A deep understanding of the curl class can be used to simulate get, post, and curl downloads. The copy code is as follows :? PhpclassCurl {** get method to obtain the access address * @ paramstringurl the address to be accessed * @
This article provides a detailed analysis of the curl class that can be used to simulate get, post, and curl downloads. For more information, see
As follows:
The code is as follows:
Class Curl {
/*
* Get access to the specified address
* @ Param
PHP uses curl to simulate the method by which users log on to Sina Weibo, and curl users log on. PHP uses curl to simulate the method by which users log on to Sina Weibo. the curl user logs on to the instance in this article describes how PHP uses
As follows:Copy codeThe Code is as follows:Class Curl {/** Get access to the specified address* @ Param string url the address to be accessed* @ Param string cookie: The storage address of the cookie. If no cookie exists, no cookie is sent.* @
PHP uses CURL to simulate logon to a website with a verification code.
Many simulated login programs on the Internet mostly run through service programs such as apache. After obtaining the verification code, they are displayed on the webpage and
When Curl submits a POST request to a website address, it will return a file. If the output will output the content of this file, how can we get the returned file name or how can we save this file? {code ...} $ rinfocurl_getinfo ($ curl); if
This article is http://www.51osos.com/a/Linux_CentOS_RedHat/Linuxjichu/2010/1025/curl.html and http://hi.baidu.com/yschen0925/ Summary of the blog/item/d62851072f10eaca7b894790.html.
Today 51 open Source to give you a detailed explanation curl this
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.