lets say i have this url for 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 - A great place to buy computers</p>
<p>If you are reading this message, </p>
.
.
.
</div>
.
.
.
</body>
</html>
i need a tool (written in PHP or java) to call function like
saveWebPage($url);
and in result i will have these files:
newegg.html
css/style.css
js/swfobject.v1.5.js
is there a tool or function like this ?