|
Posted by shotokan99 on 07/03/07 02:26
actually here's how i did it:
$ch = curl_init();
$timeout = 0;
curl_setopt ($ch, CURLOPT_URL, $xmyurl);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
$image = curl_exec($ch);
curl_close($ch);
now where shall i insert "$shortcutcode = $_GET['ShortCut'];"? what i
am trying to do here is to get 2 separate data, which is the header
and the image. with the image no problem because i was able to make it
already.
tnx..
Navigation:
[Reply to this message]
|