How to set user agent for file_get_html() in dom.php
The problem with file_get_html () I really like the Simple HTML DOM Parser for PHP cause of its simplicity but today I encountered the problem of grabbing different HTML for different devices, so I checked the docs but couldn’t find any option how to do it. So, I dugg into the lib code myself, ready […]