> >

PHP class of Re: Snoopy powerful browser method

time:17-06-30 forum:PHP tools and code
  Class attribute

class attribute is the default value in brackets when we initialize Snoopy class.

$host connected host
$port connected port
$proxy_host used proxy host, if there is a proxy host port for
$proxy_port, if there are
$agent user agent camouflage (Snoopy) / > incoming route information, if any, / > $cookies cookies, if there is a
$rawheaders other header information, if there is a
$maxredirs maximum redirection, 0= does not allow (5)
$offsiteok whether or not / > whether to complete the link to complete address < < < Br / > $user authentication username, if there is a
$pass authentication username, if any,
$accept HTTP accepts type (image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, * / *)
where the error is reported, if any, the response code returned from the server / > = > > > > The header information returned by $headers from the server
$maxlength is the longest return to the data length
$read_timeout read operation timeout (requires PHP 4 Beta 4), set to 0 without timeout
$timed_out if a read operation is timeout, this property returns to true (requires 4 4) 4 Frames allows tracing the maximum number of
$status grabbed HTTP status
$temp_dir web server can write the temporary file directory (/tmp)
$curl_path cURL binary directory. The method used to grab the content of the web page. The $URI parameter is the URL address that is captured on the web page. The results of the capture are stored in the $this-
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

prev:Retired teachers and couples make free t... next:Snoopy is used to imitate the function o...
post comments
Notice



Approved   What day can "star children" be inte...   Ji'nan Qianfo Hill Xingguo monastery...   2017 SONY children's life is a conce...   Massaging the acupoints can relieve ...   Baby swimming pool built in Britain
rand   PHP import and export of Excel file ...      PHP filter special characters and SQ...   PHP gets all the pictures in the web...   PHP regularly gets the picture and d...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com