In order to allow people to easily write large amounts of text from within PHP, but without the need to constantly escape things, heredoc syntax was developed. Heredoc might be a little tricky to understand at first, but it’s actually a big help. Put simply, it allows you to define your own string limiter so …
Category Archives: Programming
Retrieve Your Gmail Emails Using PHP and IMAP
Grabbing emails from your Gmail account using PHP is probably easier than you think. Armed with PHP and its IMAP extension, you can retrieve emails from your Gmail account in no time! Just for fun, I’ll be using the MooTools Fx.Accordion plugin to display each email.
Facebook Open Graph locales
See FB’s i18n documentation for help. More specifically there is a complete list of supported locales. Unfortunately Australian English isn’t awesome enough to be considered as a separate thing; you’ll be choosing between UK and US English.
Multiple AddThis in Loop
Continuing on with my previous post, this post shows how to have multiple AddThis instances on the same page. This is especially useful if you have a WordPress loop (such as an article index, or just your normal blog loop on your main page).
[AS3] Using clickTag in Flash ActionScript 3 for Tracking Banner Clicks
In the good old days of AS2, if you needed to create a banner for click tracking, all you had to do was tto palce this simple two line AS code in the first frame of your banner after creating a button MovieClip and that would do the job.
MYSQL COUNT GROUP BY
I’d like to only select the rows where the count is greater than 1 (in other words the duplicates) right now from a few thousand records i am mostly seeing ones with a few 2s and 3s here and there