Category: Programming
-
Strip/Remove IRC client control characters
Here’s a small PHP function that gets rid of the mIRC (or any other IRC client) control characters, that is the colors, underlines, italics, etc.
-
PHP – Collapse multiple line drops to a single line drop
If you need to clean up some input by removing multiple new line drops and replace it with a single new line drop, for example, making this piece of text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac elit at elit viverra mollis. Cras tincidunt leo eleifend purus fermentum. Look like this:…
-
Login using Facebook Connect with Zend Framework
It took me a little while to figure out how to add a Login with Facebook mechanism to a website written with Zend Framework. It was a quite frustrating process that included a lot of Google searches and scavenging of data from a several sources. Which led me to writing this post, hopefully if you…