Simple Curl

[code]

$curl_handle=curl_init();

curl_setopt($curl_handle,CURLOPT_URL,’http://api.twitter.com/1/statuses/user_timeline.json?screen_name=madindo’);

curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2);

curl_exec($curl_handle);

curl_close($curl_handle);

[/code]