WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.
<?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); ?>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.