No Picture

How to save a remote image to local disk

July 30, 2010 amit 0

$image_url = “http://example.com/image.jpg”; $ch = curl_init(); $timeout = 0; curl_setopt ($ch, CURLOPT_URL, $image_url); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout); // Getting binary data curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, […]

No Picture

Installing Mysql 5.x

May 17, 2010 amit 1

The commands are given below. Though this was used to install mysql 5.5.4 , it is applicable to older versions also (and perhaps newer ones […]