I've got a piece of PHP code retrieving my last tweet :
$twitterrequest = 'http://api.twitter.com/1/statuses/user_timeline.json?user_id=' . $user_id . '&include_rts=true&count=' . $tweetsToDisplay;
$twitterci = curl_init($twitterrequest);
curl_setopt($twitterci, CURLOPT_RETURNTRANSFER, TRUE);
$twitterinput = curl_exec($twitterci);
curl_close($twitterci);
return ($twitterinput);
When my Internet connection is really busy I ocasionally get the following message :
Fatal error: Maximum execution time of 30 seconds exceeded in D:...\www...\wp-content\themes...\home_tweet.php on line 26
How to prevent that, simply displaying nothing rather than this ugly error message ?