|
PHP5中文手册
curl_init(PHP 4 >= 4.0.2, PHP 5) curl_init — Initialize a cURL session 说明
resource curl_init
([ string $url
] )
Initializes a new session and return a cURL handle for use with the curl_setopt(), curl_exec(), and curl_close() functions. 参数
返回值Returns a cURL handle on success, FALSE on errors. 范例
Example#1 Initializing a new cURL session and fetching a web page
<?php |