Facebook PHP SDK and CodeIgniter for basic user authentication

Posted by on Feb 24, 2011 in CodeIgniter, PHP | 205 Comments

With CodeIgniter 2, plugins are no longer an option. Usually you would just add the Facebook PHP SDK as a plugin and you were good to go, but now, you need to make a little modification to the SDK in order to use Facebook Connect on your CodeIgniter application. Lets start by explaining what is, […]

CodeIgniter 2.0 is out with cool features!

Posted by on Feb 13, 2011 in CodeIgniter | 4 Comments

I know its a bit late, CI 2.0 has been out since January 28th, 2011, but lets talk about it anyway and recapitulate some of the new features of this framework. The new stuff is great, and this time I believe it deserves a second look if you are not much into CI. Let me […]

Read Word documents with PHP (up to Word 2003)

Posted by on Feb 10, 2011 in PHP | 8 Comments

Reading Word documents with PHP on a Linux box can be a real pain. It requires DOM which is only available on the Windows platform. However, Unkwntech from Stack Overflow made quite a nice function to read Word documents and extract its information. It will only parse text content, but it is enough for most […]

Detect mobile browser/user agent with PHP (iPad, iPhone, Android, BlackBerry, WP7 and others)

Posted by on Feb 2, 2011 in PHP | 79 Comments

With all this load of smartphones and tablets, it is mandatory for us as developers to optimize our content as much as possible so everybody can see it, no matter what device they are using. This is why I wrote a small but powerful function to properly detect a wide range of mobile devices and […]