How to mass-fetch pages from a website behind authentication in PHP

Posted by avastreg on Stack Overflow See other posts from Stack Overflow or by avastreg
Published on 2010-05-20T15:33:40Z Indexed on 2010/05/20 15:40 UTC
Read the original article Hit count: 181

Filed under:
|
|
|

Yes, yes, i know user and password.

I need some trick in php to get logged into a website and retrieve some images/contents, like a normal website.

Obviously with a curl o file_get_contents it doesn't work because i'm not authenticated.

How i can do?

© Stack Overflow or respective owner

Related posts about php

Related posts about fetch