I\'m working on a feature which requires me to get the contents of a webpage, then check to see if certain text is present in that page. It\'s a backlink checking tool.
Try mb_strstr() and trim(), as pointed by dcaunt.