XOOPS Docs - XOOPS
[ class tree: XOOPS ] [ index: XOOPS ] [ all elements ]

Class: Snoopy

Source Location: /class/snoopy.php

Class Overview


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


Variables

Methods



Class Details

[line 38]
***********************************************

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 ***********************************************




[ Top ]


Class Variables

$accept =    "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"

[line 73]


Type:   mixed


[ Top ]

$agent =    "Snoopy v1.2.3"

[line 51]


Type:   mixed


[ Top ]

$cookies = array()

[line 53]


Type:   mixed


[ Top ]

$curl_path =    "/usr/local/bin/curl"

[line 91]


Type:   mixed


[ Top ]

$error =    ""

[line 77]


Type:   mixed


[ Top ]

$expandlinks =    true

[line 62]


Type:   mixed


[ Top ]

$headers = array()

[line 79]


Type:   mixed


[ Top ]

$host =    "www.php.net"

[line 44]

** Public variables ***


Type:   mixed


[ Top ]

$lastredirectaddr =    ""

[line 59]


Type:   mixed


[ Top ]

$maxframes =    0

[line 61]


Type:   mixed


[ Top ]

$maxlength =    500000

[line 80]


Type:   mixed


[ Top ]

$maxredirs =    5

[line 58]


Type:   mixed


[ Top ]

$offsiteok =    true

[line 60]


Type:   mixed


[ Top ]

$pass =    ""

[line 70]


Type:   mixed


[ Top ]

$passcookies =    true

[line 65]


Type:   mixed


[ Top ]

$port =    80

[line 45]


Type:   mixed


[ Top ]

$proxy_host =    ""

[line 46]


Type:   mixed


[ Top ]

$proxy_pass =    ""

[line 49]


Type:   mixed


[ Top ]

$proxy_port =    ""

[line 47]


Type:   mixed


[ Top ]

$proxy_user =    ""

[line 48]


Type:   mixed


[ Top ]

$rawheaders = array()

[line 55]


Type:   mixed


[ Top ]

$read_timeout =    0

[line 81]


Type:   mixed


[ Top ]

$referer =    ""

[line 52]


Type:   mixed


[ Top ]

$response_code =    ""

[line 78]


Type:   mixed


[ Top ]

$results =    ""

[line 75]


Type:   mixed


[ Top ]

$status =    0

[line 85]


Type:   mixed


[ Top ]

$temp_dir =    "/tmp"

[line 87]


Type:   mixed


[ Top ]

$timed_out =    false

[line 84]


Type:   mixed


[ Top ]

$user =    ""

[line 69]


Type:   mixed


[ Top ]

$_fp_timeout =    30

[line 118]


Type:   mixed


[ Top ]

$_framedepth =    0

[line 115]


Type:   mixed


[ Top ]

$_frameurls = array()

[line 114]


Type:   mixed


[ Top ]

$_httpmethod =    "GET"

[line 107]


Type:   mixed


[ Top ]

$_httpversion =    "HTTP/1.0"

[line 108]


Type:   mixed


[ Top ]

$_isproxy =    false

[line 117]


Type:   mixed


[ Top ]

$_maxlinelen =    4096

[line 105]

** Private variables ***


Type:   mixed


[ Top ]

$_mime_boundary =    ""

[line 111]


Type:   mixed


[ Top ]

$_redirectaddr =    false

[line 112]


Type:   mixed


[ Top ]

$_redirectdepth =    0

[line 113]


Type:   mixed


[ Top ]

$_submit_method =    "POST"

[line 109]


Type:   mixed


[ Top ]

$_submit_type =    "application/x-www-form-urlencoded"

[line 110]


Type:   mixed


[ Top ]



Class Methods


method fetch [line 129]

void fetch( $URI)



Parameters:

   $URI  

[ Top ]

method fetchform [line 470]

void fetchform( $URI)



Parameters:

   $URI  

[ Top ]

method fetchlinks [line 441]

void fetchlinks( $URI)



Parameters:

   $URI  

[ Top ]

method fetchtext [line 498]

void fetchtext( $URI)



Parameters:

   $URI  

[ Top ]

method setcookies [line 1104]

void setcookies( )



[ Top ]

method set_submit_multipart [line 590]

void set_submit_multipart( )



[ Top ]

method set_submit_normal [line 601]

void set_submit_normal( )



[ Top ]

method set_submit_xml [line 614]

void set_submit_xml( )



[ Top ]

method submit [line 279]

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



Parameters:

   $URI  
   $formvars  
   $formfiles  

[ Top ]

method submitlinks [line 522]

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



Parameters:

   $URI  
   $formvars  
   $formfiles  

[ Top ]

method submittext [line 556]

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



Parameters:

   $URI  
   $formvars  
   $formfiles  

[ Top ]

method _check_timeout [line 1120]

void _check_timeout( $fp)



Parameters:

   $fp  

[ Top ]

method _connect [line 1138]

void _connect( &$fp)



Parameters:

   &$fp  

[ Top ]

method _disconnect [line 1191]

void _disconnect( $fp)



Parameters:

   $fp  

[ Top ]

method _expandlinks [line 756]

void _expandlinks( $links, $URI)



Parameters:

   $links  
   $URI  

[ Top ]

method _httprequest [line 796]

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



Parameters:

   $url  
   $fp  
   $URI  
   $http_method  
   $content_type  
   $body  

[ Top ]

method _httpsrequest [line 959]

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



Parameters:

   $url  
   $URI  
   $http_method  
   $content_type  
   $body  

[ Top ]

method _prepare_post_body [line 1205]

void _prepare_post_body( $formvars, $formfiles)



Parameters:

   $formvars  
   $formfiles  

[ Top ]

method _stripform [line 667]

void _stripform( $document)



Parameters:

   $document  

[ Top ]

method _striplinks [line 633]

void _striplinks( $document)



Parameters:

   $document  

[ Top ]

method _striptext [line 687]

void _striptext( $document)



Parameters:

   $document  

[ Top ]


XOOPS Docs generated by phpDocumentor