How to scrape websites when cURL and allow_url_fopen is disabled

后端 未结 4 1412
借酒劲吻你
借酒劲吻你 2020-12-06 22:21

I know the question regarding PHP web page scrapers has been asked time and time and using this, I discovered SimpleHTMLDOM. After working seamlessly on my local server, I

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-06 23:08

    file_get_contents() is the simplest method to grab a page without installing extra libraries.

提交回复
热议问题