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

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -