I'm looking to use file_get_html
to get a div from another website into mine. This is for a game website to get the latest relevent post. The problem is that their website requires authentication. Is there a way I can programatically authenticate via php and allow the correct page to be returned when using file_get_html
?
Asked
Active
Viewed 88 times
0

Community
- 1
- 1

Chinmay Nagrale
- 65
- 2
- 7
-
Try using cURL, if you have to pass credentials. – Vidya Sagar Aug 03 '15 at 13:25
-
How can I? I've also added the previous question link at the top. – Chinmay Nagrale Aug 03 '15 at 13:41
-
@user3902158, check out chat – Raphael Rafatpanah Aug 03 '15 at 15:23