I need a script written in php that will scan a list of websites given in a database table for a snippet of code.
The script will then write to a table the datetime and result (snippet exists, does not exist, website inaccessible, etc).
Another script will then create a summary of each website to a new table and clear the previous days scanning results. The summary will have a percentage of successful finds.
Meta-refresh, 301,302 and 307 redirects must be followed.