Set up Last Minute scrape/php web pages


  1. Update screen-scraper:
    1. Save the attached "RCI (Scraping Session).sss" file to the screen-scrape 'import' directory
    2. Launch screen-scraper workbench once more to ensure update occured, and automatically imported the scrape. (If you're prompted to update to the latest version when you launch screen-scraper, do it.
    3. With the workbench open click on the wrench icon in the menu bar. This should bring up the settings window.
    4. Change the 'Connection timeout' value to 180
    5. Change the 'Data extractor timeout' to 20
    6. Make sure that the 'Default Character set' is set to 'ISO-8859-1'
  2. Update the database with the provided new database:
  3. Update the php scripts
    1. Copy the contents of the 'php' folder to the appropriate web server folder. (If you keep your old '/inc/dbconnect.php' file you won't have to follow the next step)
    2. Edit the 'inc/dbconnect.php' script to connect to the local MySQL database.
      • Set the '$server', '$user', and '$password' variables at the top of the script
      • Make sure the user has read/write permissions to the 'last_minute' database.
  4. The scraping sessions should now be ready to run.
  5. The page to edit the resort information for you should be at: 'http://localhost/lastminuteusvacations/php/admin/listresortstoedit.php'