New Circle Blog

Gazette 2.0 Named MITX Awards Finalist

October 15th, 2009

Harvard Gazette 2.0, a project in which New Circle Consulting managed and delivered all the back-end programming, was recently named finalist in the News category of the 2009 MITX awards.

Attaching Document to Wordpress Posts

June 21st, 2009

Asked by a client, I found a few useful links:

How to Attach a PDF to a Wordpress Post
[video] How do I attach a document (artifact) to a blog post?

iFrame, captcha, IE7

May 11th, 2009

What does this title mean? iFrame+captcha+IE7 …. means …. trouble!
We have a small php application, pulled into a .NET site through iFrame. Everything was great until we added a captcha image verification.
No Cache
At first, the captcha didn’t always work. So we put in code to tell the browser not to cache our php page:
<META http-equiv=”Cache-Control” [...]

Switch to gmail from POP3 (Outlook)

February 3rd, 2009

A few months after I switched from POP3 mail to gmail, I wrote an article “Gmail – what, why and how“.
Two years has passed since then, I’d like to share more thoughts of this switch.
Is gmail good at organizing email?
My answer to this question is “yes”.
Similar to many other business owners, I receive several hundreds of [...]

Track PDF file downloads

January 24th, 2009

A common way of tracking how website pages being used is through Google Analytics. You just need to bury a piece of javascript code towards the end of your web pages.
What if you have PDF files or other MP3, or video files for people to download and you like to know how many downloads each [...]

Converting MySQL Data from Latin1 to GB2312 (or other encoding)

October 28th, 2008

I was moving our GoSeeUS.cn website from one hosting to another and need to transfer the database over as well.
Database export and import both went smoothly but the Chinese characters were all scrambled on the new hosting server. After some research I found that the old hosting used MySql 5.0 and had the encoding set [...]