Good day,
I have a simple MySQL database with 1 table and 3 fields
Table: LINKS
Fields: ID
URL
STATUS
The table has about 3 millions links.
I would like to check all the URLs and post their returned status in the status field so that I can remove the dead links later.
This would probably require a shell script because it will need to run for a long time.
I think CURL headers may provide the best method for checking the status code, but I don't know how to put this all together. Any help on the above or a suggestion for a better way to handle this would be greatly appreciated.
Thank you.