PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of huangjs   HTTP Spy   readme.txt   Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: instruction
Class: HTTP Spy
Crawl and retrieve remote site pages
Author: By
Last change:
Date: 17 years ago
Size: 1,815 bytes
 

Contents

Class file image Download
/*---------------------------------------------------------*/ /* Package Name : Http Spy */ /* Author : James Huang (ShagoO) */ /* Email : shagoo@gmail.com */ /* Version : 1.0 */ /* Latest Release : 2006/12/09 */ /*---------------------------------------------------------*/ [Instruction] HttpSpy is Class written by James Huang (ShagoO) which extends the Class Http Clent. Use Can Use it spying infos from website. Main Function Description As Follow : //////////////////////////////////////////////////////////////////////// // Spy Main Process Methods. create() : Create a HttpClient Object. get() : Use "GET" method to get Content from website. post() : Use "POST" method to get Content from website. getContent() : Get Page Content after "get" or "post". useCurl() : Use Curl functions. setCookiePath() : Set Cookie storage path. curlLoaded() : Check if Curl is loaded. curlGetCookie() : Use curl function to get cookies. curlGetContent() : Use curl to get content. setConditions() : Set separators to parse page. getResult() : Get Result after execute(). execute() : Execute search process after getting links and setConditions(). //////////////////////////////////////////////////////////////////////// // Page Content Analyzing funcs. getHrefs() : get <a href= .. section of the page. getElements() : get .. src= .. section of the page. splitPage() : Use separators to split page. validUrlMaker() : Make all url valid. htmlTagsFilter() : Filter all html tags. [User Guild] 1. Decompress package to your DocumentRoot. 2. Use Class MySpy and spy data from Joyo. 3. Make your own Spy Classes :)