Snoopy is used to imitate the function of web browser. It can complete the task of obtaining web page content and sending forms.
Snoopy is a class that mimics the work energy of the browser. It can complete the content of the web page and send the form. Business. Some features of
Snoopy:
* convenient to grab page content
* easily grab page text content (remove HTML tag)
* convenient to grab web page link
* support agent host
* support basic username / password validation
* support setup user_agent Header content (header file)
* supports browsers, and can control the steering depth of
* can extend the link in the web to a high quality URL (default)
* to submit data conveniently and get the return value
* support tracking HTML framework (v0.92 increase)
* support again when the cookies (v0.92 increase) < < < >. Br />
if you want to know more deeply, you can Google yourself. A few simple examples are given below:
1 gets the specified URL content
PHP code
[code]$url =.Quot; http://www.taoav.com.quot; / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / (> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / .#93; =.Quot; admin.quot;
$formvars.#91;.Quot; pwd.quot;.#93; =.Quot; admin.quot;
$action =; Return
/ / / / / / / / / optional
$snoopy-.gt; submittext; / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /