Class Snoopy

Description

***********************************************

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***********************************************

Located in /includes/magpierss/extlib/Snoopy.class.php (line 38)


	
			
Variable Summary
 mixed $accept
 mixed $agent
 mixed $cookies
 mixed $curl_path
 mixed $error
 mixed $expandlinks
 mixed $headers
 mixed $host
 mixed $maxframes
 mixed $maxlength
 mixed $maxredirs
 mixed $offsiteok
 mixed $pass
 mixed $passcookies
 mixed $port
 mixed $proxy_host
 mixed $proxy_port
 mixed $rawheaders
 mixed $referer
 mixed $results
 mixed $status
 mixed $timed_out
 mixed $user
 mixed $use_gzip
 mixed $_fp_timeout
 mixed $_framedepth
 mixed $_frameurls
 mixed $_httpmethod
 mixed $_isproxy
 mixed $_maxlinelen
Method Summary
 void fetch ( $URI)
 void setcookies ()
 void _check_timeout ( $fp)
 void _connect ( &$fp)
 void _disconnect ( $fp)
 void _expandlinks ( $links,  $URI)
 void _httprequest ( $url,  $fp,  $URI,  $http_method, [ $content_type = ""], [ $body = ""])
 void _httpsrequest ( $url,  $URI,  $http_method, [ $content_type = ""], [ $body = ""])
 void _prepare_post_body ( $formvars,  $formfiles)
 void _stripform ( $document)
 void _striplinks ( $document)
 void _striptext ( $document)
Variables
mixed $accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*" (line 70)
mixed $agent = "Snoopy v1.0" (line 48)
mixed $cookies = array() (line 50)
mixed $curl_path = "/usr/bin/curl" (line 84)
mixed $error = "" (line 74)
mixed $expandlinks = true (line 59)
mixed $headers = array() (line 76)
mixed $host = "www.php.net" (line 44)

** Public variables ***

mixed $lastredirectaddr = "" (line 56)
mixed $maxframes = 0 (line 58)
mixed $maxlength = 500000 (line 77)
mixed $maxredirs = 5 (line 55)
mixed $offsiteok = true (line 57)
mixed $pass = "" (line 67)
mixed $passcookies = true (line 62)
mixed $port = 80 (line 45)
mixed $proxy_host = "" (line 46)
mixed $proxy_port = "" (line 47)
mixed $rawheaders = array() (line 52)
mixed $read_timeout = 0 (line 78)
mixed $referer = "" (line 49)
mixed $response_code = "" (line 75)
mixed $results = "" (line 72)
mixed $status = 0 (line 82)
mixed $timed_out = false (line 81)
mixed $user = "" (line 66)
mixed $use_gzip = true (line 97)
mixed $_fp_timeout = 30 (line 114)
mixed $_framedepth = 0 (line 111)
mixed $_frameurls = array() (line 110)
mixed $_httpmethod = "GET" (line 103)
mixed $_httpversion = "HTTP/1.0" (line 104)
mixed $_isproxy = false (line 113)
mixed $_maxlinelen = 4096 (line 101)

** Private variables ***

mixed $_mime_boundary = "" (line 107)
mixed $_redirectaddr = false (line 108)
mixed $_redirectdepth = 0 (line 109)
mixed $_submit_method = "POST" (line 105)
mixed $_submit_type = "application/x-www-form-urlencoded" (line 106)
Methods
fetch (line 125)
void fetch ( $URI)
  • $URI
setcookies (line 737)
void setcookies ()
_check_timeout (line 753)
void _check_timeout ( $fp)
  • $fp
_connect (line 771)
void _connect ( &$fp)
  • &$fp
_disconnect (line 823)
void _disconnect ( $fp)
  • $fp
_expandlinks (line 373)
void _expandlinks ( $links,  $URI)
  • $links
  • $URI
_httprequest (line 407)
void _httprequest ( $url,  $fp,  $URI,  $http_method, [ $content_type = ""], [ $body = ""])
  • $url
  • $fp
  • $URI
  • $http_method
  • $content_type
  • $body
_httpsrequest (line 590)
void _httpsrequest ( $url,  $URI,  $http_method, [ $content_type = ""], [ $body = ""])
  • $url
  • $URI
  • $http_method
  • $content_type
  • $body
_prepare_post_body (line 837)
void _prepare_post_body ( $formvars,  $formfiles)
  • $formvars
  • $formfiles
_stripform (line 307)
void _stripform ( $document)
  • $document
_striplinks (line 273)
void _striplinks ( $document)
  • $document
_striptext (line 327)
void _striptext ( $document)
  • $document

Documentation generated on Mon, 05 May 2008 16:22:54 +0400 by phpDocumentor 1.4.0