Retrieve file from url with autorization PHP

Posted by Belgin Fish on Stack Overflow See other posts from Stack Overflow or by Belgin Fish
Published on 2010-06-06T00:20:39Z Indexed on 2010/06/06 0:22 UTC
Read the original article Hit count: 567

Filed under:

Hi, I'm currently trying to grab a file from an external url that has an authorization box that pops up (like the default one asking for a username and password)

How can I have a script get the contents of the page (it's a video), save it to a directory and handle the authorization (i have a username and password)

Thanks :)

© Stack Overflow or respective owner

Related posts about php