Recommend this page to a friend! |
Download .zip |
Info | View files (5) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2006-12-22 (9 years ago) | Not enough user ratings | Total: 1,879 This week: 1 | All time: 2,035 This week: 1,047 |
Version | License | PHP version | Categories | |||
httpspy 1.0 | Artistic License | 4.3.0 | HTTP, Searching |
Description | Author | |
This package can be used to crawl and retrieve remote Web site pages. |
/*---------------------------------------------------------*/ /* 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 :) |
Files |
File | Role | Description | ||
---|---|---|---|---|
config (1 file) | ||||
core (2 files) | ||||
MySpy.php | Example | demo file | ||
readme.txt | Doc. | instruction |
Files | / | core |
File | Role | Description |
---|---|---|
HttpClient.php | Class | Base Http Functions |
HttpSpy.php | Class | Main Class |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.