All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.
<?php $rebateurl = "http://www.website.com/archive/rebateImages.zip"; // save that image to our server! $ch = curl_init(); $timeout = 0; curl_setopt ($ch, CURLOPT_URL, $rebateurl); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout); // Getting binary data curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1); $image = curl_exec($ch); curl_close($ch); $new_filename = "rebateImages.zip"; $f = fopen('$new_filename, 'w'); //ERROR HERE fwrite($f, $image); fclose($f); ?>
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
20 Experts available now in Live!