A PHP scraping script I am studying thinking to develop in a full application