Home > Backend Development > PHP Tutorial > 怎么获取CURL读取远程html后完成时的状态

怎么获取CURL读取远程html后完成时的状态

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:38:53
Original
939 people have browsed it

如何获取CURL读取远程html后完成时的状态?
我想它读取163的首页完成后,给出一个回调函数,但不知道怎么写啊

------解决方案--------------------
CRUL 是同步完成的,即 curl_exec 函数只在读取完成或出错时返回

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
curl simulated login
From 1970-01-01 08:00:00
0
0
0
Convert cURL command line to PHP cURL code
From 1970-01-01 08:00:00
0
0
0
Convert command line cURL to PHP cURL
From 1970-01-01 08:00:00
0
0
0
How to set boolean value true in php curl
From 1970-01-01 08:00:00
0
0
0
Please tell me, php curl request page shows blank
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template