wildbest - 7:49 am on Jan 12, 2011 (gmt 0)
In otherwords I changed this line:
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (Windows; MSIE 6.0; U; Windows NT 5.1)");
Obviously, this user agent string is blacklisted by the website you're trying to access. I'm glad it's okay now.