메소드 |
설명 |
|
curl_download ( string $remote, string $local ) : mixed |
+----------------------------------------------------------
采集远程文件
+----------------------------------------------------------
+---------------------------------------------------------- |
|
download ( string $filename, string $showname = '', string $content = '', integer $expire = 180 ) |
+----------------------------------------------------------
下载文件
可以指定下载显示的文件名,并自动发送相应的Header信息
如果指定了content参数,则下载该参数的内容
+---------------------------------------------------------- |
|
get_header_info ( $header = '', $echo = true ) : string |
+----------------------------------------------------------
显示HTTP Header 信息
+---------------------------------------------------------- |
|
send_http_status ( $code ) |
HTTP Protocol defined status codes |
|