Is there any way to include the user agent string along with the request send by PHP Simple HTML DOM Parser?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Correctly parse PDF paragraphs with Python
- Can php detect if javascript is on or not?
Thanks Michal Čihař, you are right I just made some changes in the load_file() function of simple_html_dom class and it worked
By looking at the code it should be possible by using context streams, something like:
Alternatively you can also set default value in php.ini.