|
XOOPS 2.5.6
Final
|
Public Member Functions | |
| _check_timeout ($fp) | |
| _connect (&$fp) | |
| _disconnect ($fp) | |
| _expandlinks ($links, $URI) | |
| _httprequest ($url, $fp, $URI, $http_method, $content_type="", $body="") | |
| _httpsrequest ($url, $URI, $http_method, $content_type="", $body="") | |
| _prepare_post_body ($formvars, $formfiles) | |
| _stripform ($document) | |
| _striplinks ($document) | |
| _striptext ($document) | |
| fetch ($URI) | |
| fetchform ($URI) | |
| fetchlinks ($URI) | |
| fetchtext ($URI) | |
| set_submit_multipart () | |
| set_submit_normal () | |
| set_submit_xml () | |
| setcookies () | |
| submit ($URI, $formvars="", $formfiles="") | |
| submitlinks ($URI, $formvars="", $formfiles="") | |
| submittext ($URI, $formvars="", $formfiles="") | |
Public Attributes | |
| $_fp_timeout = 30 | |
| $_framedepth = 0 | |
| $_frameurls = array() | |
| $_httpmethod = "GET" | |
| $_httpversion = "HTTP/1.0" | |
| $_isproxy = false | |
| $_maxlinelen = 4096 | |
| $_mime_boundary = "" | |
| $_redirectaddr = false | |
| $_redirectdepth = 0 | |
| $_submit_method = "POST" | |
| $_submit_type = "application/x-www-form-urlencoded" | |
| $accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*" | |
| $agent = "Snoopy v1.2.4" | |
| $cookies = array() | |
| $curl_path = "/usr/local/bin/curl" | |
| $error = "" | |
| $expandlinks = true | |
| $headers = array() | |
| $host = "www.php.net" | |
| $lastredirectaddr = "" | |
| $maxframes = 0 | |
| $maxlength = 500000 | |
| $maxredirs = 5 | |
| $offsiteok = true | |
| $pass = "" | |
| $passcookies = true | |
| $port = 80 | |
| $proxy_host = "" | |
| $proxy_pass = "" | |
| $proxy_port = "" | |
| $proxy_user = "" | |
| $rawheaders = array() | |
| $read_timeout = 0 | |
| $referer = "" | |
| $response_code = "" | |
| $results = "" | |
| $status = 0 | |
| $temp_dir = "/tmp" | |
| $timed_out = false | |
| $user = "" | |
Definition at line 38 of file snoopy.php.
| Snoopy::_check_timeout | ( | $fp | ) |
Definition at line 1119 of file snoopy.php.
Referenced by _httprequest().

| Snoopy::_connect | ( | & | $fp | ) |
Definition at line 1137 of file snoopy.php.
References $host, $port, $proxy_host, and $proxy_port.
Referenced by fetch(), and submit().

| Snoopy::_disconnect | ( | $fp | ) |
Definition at line 1190 of file snoopy.php.
Referenced by fetch(), and submit().

| Snoopy::_expandlinks | ( | $links, | |
| $URI | |||
| ) |
Definition at line 756 of file snoopy.php.
Referenced by _httprequest(), _httpsrequest(), fetchlinks(), submit(), submitlinks(), and submittext().

| Snoopy::_httprequest | ( | $url, | |
| $fp, | |||
| $URI, | |||
| $http_method, | |||
$content_type = "", |
|||
$body = "" |
|||
| ) |
Definition at line 796 of file snoopy.php.
References $headers, $port, $results, $status, $url, _check_timeout(), _expandlinks(), and setcookies().
Referenced by fetch(), and submit().


| Snoopy::_httpsrequest | ( | $url, | |
| $URI, | |||
| $http_method, | |||
$content_type = "", |
|||
$body = "" |
|||
| ) |
Definition at line 959 of file snoopy.php.
References $headers, $port, $results, $temp_dir, $url, _expandlinks(), and setcookies().
Referenced by fetch(), and submit().


| Snoopy::_prepare_post_body | ( | $formvars, | |
| $formfiles | |||
| ) |
Definition at line 1204 of file snoopy.php.
Referenced by submit().

| Snoopy::_stripform | ( | $document | ) |
Definition at line 667 of file snoopy.php.
Referenced by fetchform().

| Snoopy::_striplinks | ( | $document | ) |
Definition at line 633 of file snoopy.php.
Referenced by fetchlinks(), and submitlinks().

| Snoopy::_striptext | ( | $document | ) |
Definition at line 687 of file snoopy.php.
Referenced by fetchtext(), and submittext().

| Snoopy::fetch | ( | $URI | ) |
Definition at line 129 of file snoopy.php.
References $_frameurls, $_redirectaddr, $path, _connect(), _disconnect(), _httprequest(), and _httpsrequest().
Referenced by fetchform(), fetchlinks(), fetchtext(), and submit().


| Snoopy::fetchform | ( | $URI | ) |
Definition at line 470 of file snoopy.php.
References _stripform(), and fetch().

| Snoopy::fetchlinks | ( | $URI | ) |
Definition at line 441 of file snoopy.php.
References $lastredirectaddr, _expandlinks(), _striplinks(), and fetch().

| Snoopy::fetchtext | ( | $URI | ) |
Definition at line 498 of file snoopy.php.
References _striptext(), and fetch().

| Snoopy::set_submit_multipart | ( | ) |
Definition at line 590 of file snoopy.php.
| Snoopy::set_submit_normal | ( | ) |
Definition at line 601 of file snoopy.php.
| Snoopy::set_submit_xml | ( | ) |
Definition at line 614 of file snoopy.php.
| Snoopy::setcookies | ( | ) |
Definition at line 1103 of file snoopy.php.
Referenced by _httprequest(), and _httpsrequest().

| Snoopy::submit | ( | $URI, | |
$formvars = "", |
|||
$formfiles = "" |
|||
| ) |
Definition at line 279 of file snoopy.php.
References $_frameurls, $_redirectaddr, $path, _connect(), _disconnect(), _expandlinks(), _httprequest(), _httpsrequest(), _prepare_post_body(), and fetch().
Referenced by submitlinks(), and submittext().


| Snoopy::submitlinks | ( | $URI, | |
$formvars = "", |
|||
$formfiles = "" |
|||
| ) |
Definition at line 522 of file snoopy.php.
References $lastredirectaddr, _expandlinks(), _striplinks(), and submit().

| Snoopy::submittext | ( | $URI, | |
$formvars = "", |
|||
$formfiles = "" |
|||
| ) |
Definition at line 556 of file snoopy.php.
References $lastredirectaddr, _expandlinks(), _striptext(), and submit().

| Snoopy::$_fp_timeout = 30 |
Definition at line 118 of file snoopy.php.
| Snoopy::$_framedepth = 0 |
Definition at line 115 of file snoopy.php.
| Snoopy::$_frameurls = array() |
Definition at line 114 of file snoopy.php.
| Snoopy::$_httpmethod = "GET" |
Definition at line 107 of file snoopy.php.
| Snoopy::$_httpversion = "HTTP/1.0" |
Definition at line 108 of file snoopy.php.
| Snoopy::$_isproxy = false |
Definition at line 117 of file snoopy.php.
| Snoopy::$_maxlinelen = 4096 |
Definition at line 105 of file snoopy.php.
| Snoopy::$_mime_boundary = "" |
Definition at line 111 of file snoopy.php.
| Snoopy::$_redirectaddr = false |
Definition at line 112 of file snoopy.php.
| Snoopy::$_redirectdepth = 0 |
Definition at line 113 of file snoopy.php.
| Snoopy::$_submit_method = "POST" |
Definition at line 109 of file snoopy.php.
| Snoopy::$_submit_type = "application/x-www-form-urlencoded" |
Definition at line 110 of file snoopy.php.
| Snoopy::$accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*" |
Definition at line 73 of file snoopy.php.
| Snoopy::$agent = "Snoopy v1.2.4" |
Definition at line 51 of file snoopy.php.
| Snoopy::$cookies = array() |
Definition at line 53 of file snoopy.php.
| Snoopy::$curl_path = "/usr/local/bin/curl" |
Definition at line 91 of file snoopy.php.
| Snoopy::$error = "" |
Definition at line 77 of file snoopy.php.
| Snoopy::$expandlinks = true |
Definition at line 62 of file snoopy.php.
| Snoopy::$headers = array() |
Definition at line 79 of file snoopy.php.
Referenced by _httprequest(), and _httpsrequest().
| Snoopy::$host = "www.php.net" |
Definition at line 44 of file snoopy.php.
Referenced by _connect().
| Snoopy::$lastredirectaddr = "" |
Definition at line 59 of file snoopy.php.
Referenced by fetchlinks(), submitlinks(), and submittext().
| Snoopy::$maxframes = 0 |
Definition at line 61 of file snoopy.php.
| Snoopy::$maxlength = 500000 |
Definition at line 80 of file snoopy.php.
| Snoopy::$maxredirs = 5 |
Definition at line 58 of file snoopy.php.
| Snoopy::$offsiteok = true |
Definition at line 60 of file snoopy.php.
| Snoopy::$pass = "" |
Definition at line 70 of file snoopy.php.
| Snoopy::$passcookies = true |
Definition at line 65 of file snoopy.php.
| Snoopy::$port = 80 |
Definition at line 45 of file snoopy.php.
Referenced by _connect(), _httprequest(), and _httpsrequest().
| Snoopy::$proxy_host = "" |
Definition at line 46 of file snoopy.php.
Referenced by _connect().
| Snoopy::$proxy_pass = "" |
Definition at line 49 of file snoopy.php.
| Snoopy::$proxy_port = "" |
Definition at line 47 of file snoopy.php.
Referenced by _connect().
| Snoopy::$proxy_user = "" |
Definition at line 48 of file snoopy.php.
| Snoopy::$rawheaders = array() |
Definition at line 55 of file snoopy.php.
| Snoopy::$read_timeout = 0 |
Definition at line 81 of file snoopy.php.
| Snoopy::$referer = "" |
Definition at line 52 of file snoopy.php.
| Snoopy::$response_code = "" |
Definition at line 78 of file snoopy.php.
| Snoopy::$results = "" |
Definition at line 75 of file snoopy.php.
Referenced by _httprequest(), and _httpsrequest().
| Snoopy::$status = 0 |
Definition at line 85 of file snoopy.php.
Referenced by _httprequest().
| Snoopy::$temp_dir = "/tmp" |
Definition at line 87 of file snoopy.php.
Referenced by _httpsrequest().
| Snoopy::$timed_out = false |
Definition at line 84 of file snoopy.php.
| Snoopy::$user = "" |
Definition at line 69 of file snoopy.php.