The450Man 0 Posted February 13, 2015 Report Share Posted February 13, 2015 Anyone have a script that can download the entire webpage? Including the css, images, etc? I would basically like to do the same thing that happens when you right click and click "save page as" in firefox. Quote Link to post Share on other sites
Edward_2 85 Posted February 13, 2015 Report Share Posted February 13, 2015 Theres this Server side php $url = 'your url';$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);$data = curl_exec ($ch);curl_close ($ch);// you can do something with $data like explode(); or a preg match regex to get the exact information you need//$data = strip_tags($data);echo $data Quote Link to post Share on other sites
The450Man 0 Posted February 13, 2015 Author Report Share Posted February 13, 2015 interesting, how would I incorporate that into ubot though? Quote Link to post Share on other sites
Edward_2 85 Posted February 14, 2015 Report Share Posted February 14, 2015 Theres a php plugin here. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.