It seems thousands of websites are getting attacked by a virus which injects iFrame for loading some other pages in hidden manner when loading our web page.
It will help them to improve their Traffic Ranking (e.g Alexa Ranking).
PHP is having DOM functionality for parsing webpage by considering the HTML content of the webpage as XML data.\n\nIf you assign the $data with the HTML content of the webpage, below code will load the HTML content in DOM object.