java - php - save whole webpage (HTML + CSS + Javascript) -
lets have url webpage
<html lang="en"> <head> <title>newegg.com - hp envy 14-3010nr </title> <link rel="stylesheet" type="text/css" href="css/style.css"> <script type="js/swfobject.v1.5.js"></script> </head> <body> <div id="message2olderbrowser"> <p>newegg.com - great place buy computers</p> <p>if reading message, </p> . . . </div> . . . </body> </html>
i need tool (written in php or java) call function like
savewebpage($url);
and in result have these files:
newegg.html css/style.css js/swfobject.v1.5.js
is there tool or function ?
Comments
Post a Comment