Twitter Posting with PHP and Curl

As it’s so utterly and incredibly easy to do this, I thought I’d add to the resources of how to post to message to your Twitter account using PHP and Curl.

So, to add to the other PHP scripts I’ve been plonking out here, here is the PHP source code to a simple  function which will post to a Twitter account. Send data to it from a form or a service, or even another script, even from an llHTTPRequest from an LSL script in Second Life! Easy and interesting stuff, that messaging. 😉

Here you go: http://kosso.co.uk/twitter/twitterCurl.phps