phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Class: Snoopy

Source Location: /includes/Snoopy.class.php

Class Snoopy

Class Overview

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

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/Snoopy.class.php [line 32]



		
		
		
		

Properties

Methods

[ Top ]
Property Summary
mixed   $accept  
mixed   $agent  
mixed   $cookies  
mixed   $curl_path  
mixed   $error  
mixed   $expandlinks  
mixed   $headers  
mixed   $host   ** Public variables ***
mixed   $lastredirectaddr  
mixed   $maxframes  
mixed   $maxlength  
mixed   $maxredirs  
mixed   $offsiteok  
mixed   $pass  
mixed   $passcookies  
mixed   $port  
mixed   $proxy_host  
mixed   $proxy_pass  
mixed   $proxy_port  
mixed   $proxy_user  
mixed   $rawheaders  
mixed   $read_timeout  
mixed   $referer  
mixed   $response_code  
mixed   $results  
mixed   $status  
mixed   $temp_dir  
mixed   $timed_out  
mixed   $user  
mixed   $_fp_timeout  
mixed   $_framedepth  
mixed   $_frameurls  
mixed   $_httpmethod  
mixed   $_httpversion  
mixed   $_isproxy  
mixed   $_maxlinelen   ** Private variables ***
mixed   $_mime_boundary  
mixed   $_redirectaddr  
mixed   $_redirectdepth  
mixed   $_submit_method  
mixed   $_submit_type  

[ Top ]
Method Summary
void   fetch()  
void   fetchform()  
void   fetchlinks()  
void   fetchtext()  
void   setcookies()  
void   set_submit_multipart()  
void   set_submit_normal()  
void   submit()  
void   submitlinks()  
void   submittext()  
void   _check_timeout()  
void   _connect()  
void   _disconnect()  
void   _expandlinks()  
void   _httprequest()  
void   _httpsrequest()  
void   _prepare_post_body()  
void   _stripform()  
void   _striplinks()  
void   _striptext()  

[ Top ]
Properties
mixed   $accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*" [line 67]

[ Top ]
mixed   $agent = "Snoopy v1.2.5-dev" [line 45]

[ Top ]
mixed   $cookies = array() [line 47]

[ Top ]
mixed   $curl_path = "/usr/local/bin/curl" [line 85]

[ Top ]
mixed   $error = "" [line 71]

[ Top ]
mixed   $expandlinks = true [line 56]

[ Top ]
mixed   $headers = array() [line 73]

[ Top ]
mixed   $host = "www.php.net" [line 38]

** Public variables ***


[ Top ]
mixed   $lastredirectaddr = "" [line 53]

[ Top ]
mixed   $maxframes = 0 [line 55]

[ Top ]
mixed   $maxlength = 500000 [line 74]

[ Top ]
mixed   $maxredirs = 1 [line 52]

[ Top ]
mixed   $offsiteok = true [line 54]

[ Top ]
mixed   $pass = "" [line 64]

[ Top ]
mixed   $passcookies = true [line 59]

[ Top ]
mixed   $port = 80 [line 39]

[ Top ]
mixed   $proxy_host = "" [line 40]

[ Top ]
mixed   $proxy_pass = "" [line 43]

[ Top ]
mixed   $proxy_port = "" [line 41]

[ Top ]
mixed   $proxy_user = "" [line 42]

[ Top ]
mixed   $rawheaders = array() [line 49]

[ Top ]
mixed   $read_timeout = 0 [line 75]

[ Top ]
mixed   $referer = "" [line 46]

[ Top ]
mixed   $response_code = "" [line 72]

[ Top ]
mixed   $results = "" [line 69]

[ Top ]
mixed   $status = 0 [line 79]

[ Top ]
mixed   $temp_dir = "/tmp" [line 81]

[ Top ]
mixed   $timed_out = false [line 78]

[ Top ]
mixed   $user = "" [line 63]

[ Top ]
mixed   $_fp_timeout = 30 [line 112]

[ Top ]
mixed   $_framedepth = 0 [line 109]

[ Top ]
mixed   $_frameurls = array() [line 108]

[ Top ]
mixed   $_httpmethod = "GET" [line 101]

[ Top ]
mixed   $_httpversion = "HTTP/1.0" [line 102]

[ Top ]
mixed   $_isproxy = false [line 111]

[ Top ]
mixed   $_maxlinelen = 4096 [line 99]

** Private variables ***


[ Top ]
mixed   $_mime_boundary = "" [line 105]

[ Top ]
mixed   $_redirectaddr = false [line 106]

[ Top ]
mixed   $_redirectdepth = 0 [line 107]

[ Top ]
mixed   $_submit_method = "POST" [line 103]

[ Top ]
mixed   $_submit_type = "application/x-www-form-urlencoded" [line 104]

[ Top ]
Methods
fetch  [line 123]

  void fetch( $URI  )

Parameters:
   $URI: 


[ Top ]
fetchform  [line 464]

  void fetchform( $URI  )

Parameters:
   $URI: 


[ Top ]
fetchlinks  [line 435]

  void fetchlinks( $URI  )

Parameters:
   $URI: 


[ Top ]
fetchtext  [line 492]

  void fetchtext( $URI  )

Parameters:
   $URI: 


[ Top ]
setcookies  [line 1084]

  void setcookies( )



[ Top ]
set_submit_multipart  [line 584]

  void set_submit_multipart( )



[ Top ]
set_submit_normal  [line 595]

  void set_submit_normal( )



[ Top ]
submit  [line 273]

  void submit( $URI, [ $formvars = ""], [ $formfiles = ""]  )

Parameters:
   $URI: 
   $formvars: 
   $formfiles: 


[ Top ]
submitlinks  [line 516]

  void submitlinks( $URI, [ $formvars = ""], [ $formfiles = ""]  )

Parameters:
   $URI: 
   $formvars: 
   $formfiles: 


[ Top ]
submittext  [line 550]

  void submittext( $URI, [ $formvars = ""], [ $formfiles = ""]  )

Parameters:
   $URI: 
   $formvars: 
   $formfiles: 


[ Top ]
_check_timeout  [line 1100]

  void _check_timeout( $fp  )

Parameters:
   $fp: 


[ Top ]
_connect  [line 1118]

  void _connect( &$fp  )

Parameters:
   &$fp: 


[ Top ]
_disconnect  [line 1171]

  void _disconnect( $fp  )

Parameters:
   $fp: 


[ Top ]
_expandlinks  [line 738]

  void _expandlinks( $links, $URI  )

Parameters:
   $links: 
   $URI: 


[ Top ]
_httprequest  [line 778]

  void _httprequest( $url, $fp, $URI, $http_method, [ $content_type = ""], [ $body = ""]  )

Parameters:
   $url: 
   $fp: 
   $URI: 
   $http_method: 
   $content_type: 
   $body: 


[ Top ]
_httpsrequest  [line 941]

  void _httpsrequest( $url, $URI, $http_method, [ $content_type = ""], [ $body = ""]  )

Parameters:
   $url: 
   $URI: 
   $http_method: 
   $content_type: 
   $body: 


[ Top ]
_prepare_post_body  [line 1185]

  void _prepare_post_body( $formvars, $formfiles  )

Parameters:
   $formvars: 
   $formfiles: 


[ Top ]
_stripform  [line 649]

  void _stripform( $document  )

Parameters:
   $document: 


[ Top ]
_striplinks  [line 615]

  void _striplinks( $document  )

Parameters:
   $document: 


[ Top ]
_striptext  [line 669]

  void _striptext( $document  )

Parameters:
   $document: 


[ Top ]

Documentation generated on Tue, 05 Sep 2017 01:06:15 +0200 by phpDocumentor 1.4.3