This is a discussion on Archiving External Sites within the PHP General forums, part of the PHP Programming Forums category; I don't know that this is specifically a PHP question, but I've tried searching for leads and am ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I don't know that this is specifically a PHP question, but I've tried
searching for leads and am now going to ask here. I am developing a PHP application that allows users to manage projects and to upload and search documents related to the projects they are managing. One type of document they may want to reference is an external web page. If I want to allow the user to copy a URL into a form field and then use that to go out and archive a local copy of the destination page as it exists, how would I do that? Thanks, Mike |
|
|||
|
sutton128@yahoo.com wrote: > I don't know that this is specifically a PHP question, but I've tried > searching for leads and am now going to ask here. > > I am developing a PHP application that allows users to manage projects > and to upload and search documents related to the projects they are > managing. One type of document they may want to reference is an > external web page. If I want to allow the user to copy a URL into a > form field and then use that to go out and archive a local copy of the > destination page as it exists, how would I do that? > > Thanks, > Mike Use file_get_contents() or Curl: http://www.php.net/file_get_contents http://www.php.net/curl |