Class SimplePie_File
Used for fetching remote files and reading local files
Supports HTTP 1.0 via cURL or fsockopen, with spotty HTTP 1.1 support
This class can be overloaded with SimplePie_Core::set_file_class()
Package:
SimplePie
Todo: Move to properly supporting RFC2616 (HTTP/1.1)
Located at SimplePie/File.php
Todo: Move to properly supporting RFC2616 (HTTP/1.1)
Located at SimplePie/File.php
public
|
#
__construct( $url, $timeout = 10, $redirects = 5, $headers = null, $useragent = null, $force_fsockopen = false )
|
public
|
$url |
|
|
public
|
$useragent |
|
|
public
boolean
|
$success | true |
|
public
array
|
$headers | array() |
|
public
|
$body |
|
|
public
|
$status_code |
|
|
public
integer
|
$redirects | 0 |
|
public
|
$error |
|
|
public
string
|
$method | SIMPLEPIE_FILE_SOURCE_NONE |