<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mark Dalby &#187; Featured</title>
	<atom:link href="http://www.markdalby.com/category/featured/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markdalby.com</link>
	<description>Fighting Ignorance since 1986 (It’s taking longer than I thought).</description>
	<lastBuildDate>Thu, 28 Jan 2010 02:41:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Make FREE 0800 calls from your iPhone.</title>
		<link>http://www.markdalby.com/make-free-0800-calls-from-your-iphone-2/</link>
		<comments>http://www.markdalby.com/make-free-0800-calls-from-your-iphone-2/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 08:51:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[0800]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Handhelds]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Smartphones]]></category>
		<category><![CDATA[zimo]]></category>

		<guid isPermaLink="false">http://www.markdalby.com/?p=181</guid>
		<description><![CDATA[I don&#8217;t know how many of you own an iPhone but I&#8217;d like to take the  oppurtunity to introduce a great little app we have just released to the  store.
The name of the app is Numberstore and the sole purpose of it is to  save you money when making 0800 or 0500 [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know how many of you own an iPhone but I&#8217;d like to take the  oppurtunity to introduce a great little app we have just released to the  store.</p>
<p>The name of the app is <a title="Numberstore 0800, 0300, 0330 and 0845 numbers" href="http://www.numberstore.com" target="_blank">Numberstore</a> and the sole purpose of it is to  save you money when making 0800 or 0500 Freefone calls from your iPhone.</p>
<p>It is really simple to use, you just open the app, enter the 0800  number you want to dial and then click &#8220;Dial&#8221;. The app then does some  sorcery behind the scenes and translates your <a title="Buy 0800 Numbers" href="http://www.numberstore.com/numbers/0800">0800</a> to an 01 or 02 local  rate call ( which in most cases is included in your monthly minutes.)  The app then handles the connection of the call for you.</p>
<p>Simples!</p>
<p>You can view more information on this app  <a href="http://iphone.numberstore.com">here</a>.</p>
<div id="attachment_179" class="wp-caption alignnone" style="width: 310px"><a href="http://www.markdalby.com/wp-content/uploads/2010/01/Screen-shot-2010-01-27-at-08.42.21.png"><img class="size-medium wp-image-179" title="Numberstore iPhone App Screenshot" src="http://www.markdalby.com/wp-content/uploads/2010/01/Screen-shot-2010-01-27-at-08.42.21-300x215.png" alt="Numberstore iPhone App Screenshot" width="300" height="215" /></a><p class="wp-caption-text">Make free 0800 calls from your iPhone with the new Numberstore iPhone App</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.markdalby.com/make-free-0800-calls-from-your-iphone-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Reaches for the Sky.</title>
		<link>http://www.markdalby.com/microsoft-reaches-for-the-sky/</link>
		<comments>http://www.markdalby.com/microsoft-reaches-for-the-sky/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 12:19:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BBC iPlayer]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Playstation 3]]></category>
		<category><![CDATA[Sky Anytime]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[Video game]]></category>
		<category><![CDATA[Xbox 360]]></category>

		<guid isPermaLink="false">http://www.markdalby.com/?p=158</guid>
		<description><![CDATA[



Image by Matt Brett via Flickr



Back in May Microsoft signed an exclusive deal with television giant Sky which allowed them to stream the &#8220;Sky Anytime&#8221; content over its networks and straight into your XBOX 360.
Today Microsoft announced that this service will be ready to roll in the XBOX 360 Autumn update which is available on [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignright" style="width: 250px;">
<dt class="wp-caption-dt"><a href="http://www.flickr.com/photos/42122381@N00/159089974"><img title="Xbox 360 Dashboard" src="http://farm1.static.flickr.com/71/159089974_b6ae2fbfc5_m.jpg" alt="Xbox 360 Dashboard" width="240" height="131" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image by <a href="http://www.flickr.com/photos/42122381@N00/159089974">Matt Brett</a> via Flickr</dd>
</dl>
</div>
</div>
<p>Back in May Microsoft signed an exclusive deal with television giant Sky which allowed them to stream the &#8220;Sky Anytime&#8221; content over its networks and straight into your XBOX 360.</p>
<p>Today Microsoft announced that this service will be ready to roll in the XBOX 360 Autumn update which is available on the 27th of October.</p>
<p>Pricing for the above has yet to be announced but Sky has stated that current subscribers will need to purchase a Multiroom package at £10/month to be able to watch both their regular sky box and Xbox360 simultaneously.</p>
<p>Content is to be streamed in standard definition to start but HD may be on the cards as faster connections become available.</p>
<p>The big question on my mind is how this will effect current bandwith charges. IE: will sky cap you with a 40GB download limit per month and then attempt to bill you for using their service when you go over that limit.</p>
<p>All in all though I recon its a good push forward, Nothing like Microsoft to catch the bus late though.. Sony&#8217;s Playstation 3 has had BBC iPlayer (and a flash enabled web browser) for months.</p>
<p>Happy Viewing,</p>
<p><a title="Mark" href="http://www.markdalby.com"></a><a title="Mark Dalby DOT COM " href="http://www.markdalby.com">Mark</a></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.markdalby.com/microsoft-reaches-for-the-sky/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian to ship with FreeBSD Kernel Option.</title>
		<link>http://www.markdalby.com/debian-to-ship-with-freebsd-kernel-option/</link>
		<comments>http://www.markdalby.com/debian-to-ship-with-freebsd-kernel-option/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 08:03:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Distributions]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux distribution]]></category>
		<category><![CDATA[Linux kernel]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.markdalby.com/?p=98</guid>
		<description><![CDATA[According to our friends over at TheRegister;  Debian 6.0 (codenamed &#8220;Squeeze&#8221;) is going to be shipped with the option of a FreeBSD Kernel as opposed to the Linux one of distributions past.
This option will be named &#8220;KFreeBSD&#8221; (Short For KernelFreeBSD??) and will primarily be available on i386 and amd64 architectures (which will cater for most [...]]]></description>
			<content:encoded><![CDATA[<p>According to our friends over at TheRegister;  Debian 6.0 (codenamed &#8220;Squeeze&#8221;) is going to be shipped with the option of a FreeBSD Kernel as opposed to the Linux one of distributions past.</p>
<p>This option will be named &#8220;KFreeBSD&#8221; (Short For KernelFreeBSD??) and will primarily be available on i386 and amd64 architectures (which will cater for most of us).</p>
<p>The use of a FreeBSD kernel will provide features such as jails, the OpenBSD Packet Filter and support for NDIS drivers and make Debian the only mainstream OS to concurrently support 2 different Kernels.</p>
<p>Over the past few years Debian has gained some serious traction, Its packaging system (aptitude) is by far the easiest to use and one of its derivatives (ubuntu) is the OS of choice for modern netbooks.</p>
<p>It makes me happy to know that there are still some forward thinking people in this world and I see this announcement as a massive plus for the *nix community in general.</p>
<p>Watch this space&#8230;</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/d1fc33d4-aa99-45a6-b493-c04fb2a81763/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=d1fc33d4-aa99-45a6-b493-c04fb2a81763" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.markdalby.com/debian-to-ship-with-freebsd-kernel-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6 beta</title>
		<link>http://www.markdalby.com/firefox-3-6-beta/</link>
		<comments>http://www.markdalby.com/firefox-3-6-beta/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 14:06:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markdalby.com/?p=95</guid>
		<description><![CDATA[Just a quick heads up for all you firefox users, The next incremental release of Firefox (codenamed namoroka) will be available for beta next week.
It has a few enhancements, most being performance related but there are a few neat features that the guys at mozilla have graced us with&#8230;

&#8220;light weight&#8221; themes which do not require [...]]]></description>
			<content:encoded><![CDATA[<p><!--StartFragment--><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">Just a quick heads up for all you firefox users, The next incremental release of Firefox (codenamed namoroka) will be available for beta next week.</span></span></span></p>
<p>It has a few enhancements, most being performance related but there are a few neat features that the guys at mozilla have graced us with&#8230;</p>
<ul>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">&#8220;light weight&#8221; themes which do not require a restart to install. </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">synchronize bookmarks across different computers (Safari already has this if you use MobileMe). </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">A few CSS 3.0 additions </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">Optimized session restore. </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">Dictionary integration with Mac OS X </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">Keychain integration with Mac OS X </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">A lot of improvements to the Firefox JavaScript engine. </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">Windows Aero Glass theme. </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">An improved interface for handling SSL certificates (about time really as the current process is rather long winded).<br />
</span></span></span></li>
</ul>
<p><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;"> </span></span></span></p>
<p>This should keep us going until Firefox 4.0,  which is due to be released sometime next year.</p>
<p><!--EndFragment--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdalby.com/firefox-3-6-beta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hacking A5 GSM Encryption.</title>
		<link>http://www.markdalby.com/hacking-a5-gsm-encryption/</link>
		<comments>http://www.markdalby.com/hacking-a5-gsm-encryption/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 22:21:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.markdalby.com/?p=32</guid>
		<description><![CDATA[Overview

A friend of mine recently went to a computer security event in Amsterdam and while he was there he had the privilege to attend a really eye opening seminar on the subject of A5 encryption (Click here for an overview).
Now from my somewhat basic understanding of this kind of thing, The main point of this [...]]]></description>
			<content:encoded><![CDATA[<p><!--StartFragment--><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;"><span style="text-decoration: underline;">Overview<br />
</span><br />
A friend of mine recently went to a computer security event in Amsterdam and while he was there he had the privilege to attend a really eye opening seminar on the subject of A5 encryption (Click <a title="Here" href="http://www.scribd.com/doc/18668509/HAR2009-Cracking-A5-GSM-Encryption" target="_blank">here</a> for an overview).</span></span></span></p>
<p>Now from my somewhat basic understanding of this kind of thing, The main point of this seminar was to point out that the A5 encryption we so heavily rely on to encrypt our mobile communications is seriously flawed.   So flawed in fact that it has been broken ( Several times since 1997 ).</p>
<p><span style="text-decoration: underline;">How does this affect me?<br />
</span><br />
<em>Do you use any of the below  on a regular basis?</em></p>
<p><em> </em></p>
<ul>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">SMS Banking </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">Telephone Banking </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">PayPal Mobile </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">SMS Virtual cash </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">A Mobile Phone </span></span></span></li>
<li><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;">A 3g USB Modem<br />
</span></span></span></li>
</ul>
<p><span style="font-size: medium;"><span style="font-family: Calibri,Verdana,Helvetica,Arial;"><span style="font-size: 11pt;"><br />
Of course you do! (unless you live under a rock). A5 Encryption is what stops me from sitting here on my computer listening to your phone calls or reading your emails with you. !OMG!</span></span></span></p>
<p>Yeah that’s right, If this technology ends up in the wrong hands we may as well all pass our cash card and pin number to the the person to our left and tell them to go on a shopping spree.</p>
<p><span style="text-decoration: underline;">How can I Help?<br />
</span><br />
Now we come to a crossroads and have 3 options.</p>
<p>Option One: Think its all a bit “Star Trek” and ignore it thinking&#8230; &#8220;this will never happen&#8221;.</p>
<p>Option Two: Go back to the stone age and refuse to use anything that isn’t physically connected.</p>
<p>Option Three: Run the new distributed computing program; which is based on <a href="http://reflextor.com/trac/a51">http://reflextor.com/trac/a51</a> and will help generate the rainbow tables that are needed to be able to create a fully working proof of concept and thus forcing the mobile industry to get off there ass and develop a stronger mobile encryption method.</p>
<p>The technical “Ins” and “outs” of  the aforementioned program are a bit above my pay grade but I know it uses the GPU on your graphics card to achieve far faster results than what could be achieved with a regular CPU.</p>
<p>For more information on the subject and to be one of the few involved in the creation and/or subsequent beta of any A5 cracking software, please head on over to <a href="http://www.cyberarmy.net/">http://www.CyberArmy.net</a> and speak with Enstyne or comment on this post.</p>
<p><!--EndFragment--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdalby.com/hacking-a5-gsm-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Post to Twitter and append content to 140 chars.</title>
		<link>http://www.markdalby.com/php-post-to-twitter-and-append-content-to-140-chars/</link>
		<comments>http://www.markdalby.com/php-post-to-twitter-and-append-content-to-140-chars/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 07:44:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markdalby.com/?p=26</guid>
		<description><![CDATA[The below function will allow you to “Twit” to Twitter from your website. Your server must have CURL support for this to work.
The function also limits the content to 140 chars and appends  “…” to strings that are longer.
&#60;?php
# @purpose                             To [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The below function will allow you to “Twit” to Twitter from your website. Your server must have CURL support for this to work.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The function also limits the content to 140 chars and appends  “…” to strings that are longer.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;?php</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @purpose                             To post content to twitter</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @param        $content        The content to post to twitter. (140 Chars Maximum)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @param        $username     Your Twitter username.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @param        $password      Your Twitter password.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @returns      True or False</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @changelog    14 / 03 / 2009    Function declared complete.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @docend</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">function twit($content, $username, $password)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">{</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">// The message you want to send.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$message = substr($content, 0, strrpos(substr($content, 0, 140), ‘ ‘)) . ‘…’;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">// The twitter API address</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$url = ‘http://twitter.com/statuses/update.xml’;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">// Execute the query.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$curl_handle = curl_init();</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($curl_handle, CURLOPT_URL, “$url”);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($curl_handle, CURLOPT_POST, 1);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($curl_handle, CURLOPT_POSTFIELDS, “status=$message”);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($curl_handle, CURLOPT_USERPWD, “$username:$password”);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$buffer = curl_exec($curl_handle);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_close($curl_handle);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">// check for success or failure</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">if (empty($buffer)) {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">return false;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">} else {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">return true;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">}</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">}</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">?&gt;</div>
<p>The below function will allow you to “Twit” to Twitter from your website. Your server must have CURL support for this to work.</p>
<p>The function also limits the content to 140 chars and appends  “…” to strings that are longer.</p>
<blockquote><p>&lt;?php</p>
<p># @purpose                             To post content to twitter</p>
<p># @param        $content        The content to post to twitter. (140 Chars Maximum)</p>
<p># @param        $username     Your Twitter username.</p>
<p># @param        $password      Your Twitter password.</p>
<p># @returns      True or False</p>
<p># @changelog    14 / 03 / 2009    Function declared complete.</p>
<p># @docend</p>
<p>function twit($content, $username, $password)</p>
<p>{</p>
<p>// The message you want to send.</p>
<p>$message = substr($content, 0, strrpos(substr($content, 0, 140), ‘ ‘)) . ‘…’;</p>
<p>// The twitter API address</p>
<p>$url = ‘http://twitter.com/statuses/update.xml’;</p>
<p>// Execute the query.</p>
<p>$curl_handle = curl_init();</p>
<p>curl_setopt($curl_handle, CURLOPT_URL, “$url”);</p>
<p>curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);</p>
<p>curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);</p>
<p>curl_setopt($curl_handle, CURLOPT_POST, 1);</p>
<p>curl_setopt($curl_handle, CURLOPT_POSTFIELDS, “status=$message”);</p>
<p>curl_setopt($curl_handle, CURLOPT_USERPWD, “$username:$password”);</p>
<p>$buffer = curl_exec($curl_handle);</p>
<p>curl_close($curl_handle);</p>
<p>// check for success or failure</p>
<p>if (empty($buffer)) {</p>
<p>return false;</p>
<p>} else {</p>
<p>return true;</p>
<p>}</p>
<p>}</p>
<p>?&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.markdalby.com/php-post-to-twitter-and-append-content-to-140-chars/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PHP: Send a DM via the Twitter API. (CURL)</title>
		<link>http://www.markdalby.com/php-send-a-dm-via-the-twitter-api-curl/</link>
		<comments>http://www.markdalby.com/php-send-a-dm-via-the-twitter-api-curl/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 07:41:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markdalby.com/?p=20</guid>
		<description><![CDATA[&#60;?php
# @purpose                                                              To send direct messages on Twitter.
# @param                $to                 [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;?php</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @purpose                                                              To send direct messages on Twitter.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @param                $to                                           Who you want the message to go to.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @param                $message                                The content of the message.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @param                $username                             The username of the twitter user to send the message from.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @param                $password                               The password of the twitter user to send the message from.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @returns                                                                Nothing.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @changelog        15/03/2008                           Mark Dalby              function declare complete.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"># @docend</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">function twitter_send_dm($to, $message, $username, $password)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">{</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">define(’POSTURL’, “http://$username:$password@twitter.com/direct_messages/new.json”);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">define(’POSTVARS’, “user=$to&amp;text=$message”);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ch = curl_init(POSTURL);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($ch, CURLOPT_POST, 1);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($ch, CURLOPT_POSTFIELDS, POSTVARS);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($ch, CURLOPT_HEADER, 0);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">curl_exec($ch);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">exit;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">}</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">?&gt;</div>
<p>The below function will allow you to send a DM to a Twitter user (assuming you are there friend). There is no success / failure checking with this function (I’m not going to make it too easy for you.)</p>
<blockquote><p>&lt;?php</p>
<p># @purpose                                                              To send direct messages on Twitter.</p>
<p># @param                $to                                           Who you want the message to go to.</p>
<p># @param                $message                                The content of the message.</p>
<p># @param                $username                             The username of the twitter user to send the message from.</p>
<p># @param                $password                               The password of the twitter user to send the message from.</p>
<p># @returns                                                                Nothing.</p>
<p># @changelog        15/03/2008                           Mark Dalby              function declare complete.</p>
<p># @docend</p>
<p>function twitter_send_dm($to, $message, $username, $password)</p>
<p>{</p>
<p>define(’POSTURL’, “http://$username:$password@twitter.com/direct_messages/new.json”);</p>
<p>define(’POSTVARS’, “user=$to&amp;text=$message”);</p>
<p>$ch = curl_init(POSTURL);</p>
<p>curl_setopt($ch, CURLOPT_POST, 1);</p>
<p>curl_setopt($ch, CURLOPT_POSTFIELDS, POSTVARS);</p>
<p>curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);</p>
<p>curl_setopt($ch, CURLOPT_HEADER, 0);</p>
<p>curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);</p>
<p>curl_exec($ch);</p>
<p>exit;</p>
<p>}</p>
<p>?&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.markdalby.com/php-send-a-dm-via-the-twitter-api-curl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to jailbreak Your iPhone 3G and 3GS on OS 3.x</title>
		<link>http://www.markdalby.com/how-to-jailbreak-your-iphone-3g-and-3gs-on-os-3-x/</link>
		<comments>http://www.markdalby.com/how-to-jailbreak-your-iphone-3g-and-3gs-on-os-3-x/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 07:31:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.markdalby.com/?p=14</guid>
		<description><![CDATA[Okay I’m going to break these instructions down really easily…
1) Download Redsnow from here…  [mac] – [windows] – [linux]
2) Click the correct link from here to download your phones firmware…     [3G Firmware]    [3GS Firmware]
3) Open redsn0w and click browse.
4) Select the firmware you downloaded above.
5) Follow the [...]]]></description>
			<content:encoded><![CDATA[<p>Okay I’m going to break these instructions down really easily…</p>
<p>1) Download Redsnow from here…  [<a href="http://www.dalbymail.com/iPhone/redsn0w-mac_0.8.zip">mac</a>] – [<a href="http://torrents.thepiratebay.org/4989699/redsn0w-win_0.8.zip.4989699.TPB.torrent">windows</a>] – [<a href="http://torrents.thepiratebay.org/4989697/redsn0w-linux_0.8.tar.bz2.4989697.TPB.torrent">linux</a>]</p>
<p>2) Click the correct link from here to download your phones firmware…     [<a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-6578.20090617.VfgtU/iPhone1,2_3.0_7A341_Restore.ipsw">3G Firmware</a>]    [<a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-6582.20090617.LlI87/iPhone2,1_3.0_7A341_Restore.ipsw">3GS Firmware</a>]</p>
<p>3) Open redsn0w and click browse.</p>
<p>4) Select the firmware you downloaded above.</p>
<p>5) Follow the instructions on Screen</p>
<p>6) Congratulations you have a Jailbroken iPhone and you can now use Cydia to install some apps. I recommend Backgrounder as your first <img src='http://www.markdalby.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>See, I told you it was easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdalby.com/how-to-jailbreak-your-iphone-3g-and-3gs-on-os-3-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
