I am looking to open up a 10 websites from a database using PHP CURL and find all hyperlinks mentioned in the page.
Then I want to store them in the mysql database. However, before storing to database, I also want to check if the hyperlink is not part of my do-not-use.txt (text file).
The content of do-not-use.txt text file is:
The Astrix represents anything after the sitename (wild-character). Meaning no hyperlinks from Amazon/Google/Yahoo should be entered in the database.
How would I proceed with this?