Make Your Microsoft Dynamics Investment Count & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.
<?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.
|PHP - How to insert data using sqlsrv on stored procedure?||8||61|
|Update Set Column Query Not Working as Expected||6||46|
|How would loop through this array and get the output I'm trying to print?||6||34|
|Form not executing correctly||1||28|
Join the community of 500,000 technology professionals and ask your questions.