简体   繁体   中英

PHP - How to get ajax loaded content in file_get_contents

I am using file_get_contents function which returns all html data of page.

In that page, I am using ajax jquery requests which renders data in one of the div but I cannot get that data when I am using file_get_contents function.

Can anybody suggest the way to achieve this?

file_get_contentscurl请求中使用AJAX请求url

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM