March 2012
Intermediate to advanced
392 pages
10h 17m
English
The following section describes key aspects of the webbot’s script. The latest version of this script is available for download at this book’s website.
If you want to experiment with the code, you should download the webbot’s script. I have simplified the scripts shown here for demonstration purposes.
Initialization consists of including libraries and identifying the subject website and search criteria, as shown in Example 11-2.
Example 11-2. Initializing the search-ranking webbot
# Initialization // Include libraries include("LIB_http.php"); include("LIB_parse.php"); // Identify the search term and URL combination $desired_site = "www.loremianam.com"; $search_term = "webbots"; // Initialize ...Read now
Unlock full access