|
Re: help on using curl
how to get the string with curl? can you give me a sample? because when i tried putting all things together:
ch = curl_init();
$timeout = 0;
curl_setopt ($ch, CURLOPT_URL, $xmyurl);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
ob_start();
curl_exec($ch);
$s=ob_get_contents();
.
.
.
i cant get the image. is there a way for me to do it with curl without using imagemagick. yes we do have gd and im applying it in creating the image on the fly.
|