Digital Memo All begin with 0 & 1

3Feb/100

Liberty Reserve – XML API with SSL error fix

Back to few days ago, Liberty Reserve (LR) XML API is not working in my PHP script, when I try to retrieve the transaction history. If you do not know what is LR, it is one of the largest E-currency payment gateway.

I have been using CURL to retrieve the information for since few months ago. By using curl_error function, PHP output the following error:

SSL read: error:00000000:lib(0):func(0):reason(0), errno 104

It seem like is the SSL is causing the problem. Ignoring the CURL, I use file_get_contents to fetch the URL information without luck. However, the information can be retrieved if I paste the long XML encoded URL directly into the browser. By doing some research on Google on SSL with CURL, finally I fixed the problem with my own.

The solution is just to add another line of code curl_setopt if you have not done so:

// $ch - initialized CURL resource
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"

Normally user agent is set if the site allow legit browser only. Not sure why LR is changing this all of sudden, but at least the fix is working for me.

15Nov/091

Transferring money abroad: Malaysia to China

To transfer money from Malaysia local bank to one of the China Bank, there are several ways that I found on how to do it:

  1. Through the bank Foreign Telegraph Transfer (FTT)
  2. Online services such as Paypal
  3. 3rd party agent, such as Western Union, Xoom
  4. Of course there are other ways that I am not really looking into it, such as through ikobo, moneygram, etc

Most people would recommend Paypal to transfer the money. Paypal the most popular way to make online payment. However, the charges on the receiving side in China to withdraw money to their local bank is USD35.00 per transaction! That is unbelievable, as if compare to Malaysia, it costs only RM3.00 to withdraw the money.

How about FTT? I personally owned a Maybank & CIMB accounts. Maybank charges RM10.00, while CIMB charges RM30.00. It seem like an good option. There are some netizen comments that there will be intermediary charges and also charges from China local bank, which will normally cost around USD10 to USD25. There is no problem for me, as this could be the safest way. However, the FORM in the bank do not allow special characters to be filled in. Meaning, Chinese characters are totally disallowed as they are not A-Z letters. As you know, China main language is Mandarin and they use Chinese characters for their full name, home address, etc for any official purpose. Consequencely I gave up FTT method as I am unhappy with how the Form was designed. Furthermore, after each transaction you would leave trail behind in National Bank. I do not want to myself into any trouble which might come in the future.

Western Union, indeed is the fastest way to send the money in just a few minutes - few hours. They have built their reputation since long time ago. However I wish to do the transaction Online without going out to find WU agent located in somewhere else. Furthermore, the transaction fee is expensive.

Xoom is yet another way to transfer the money abroad. If you are transferring from US Bank, the fee would be USD4.99 and capped at maximum of USD9.99 for any amount of transaction. If you use credit card, debit card or paypal, the fees rise corresponding to your transaction amount. The form design of XOOM also do not allow Chinese characters to be filled.

My own experience

I decided to do the transaction using Snapgold + Liberty Reserve + Gold2Ex. Liberty Reserve (LR) is the largest digital currency service company due to some legal trouble that strikes E-gold. If you haven't heard of LR, LR works like Paypal and you can fund your LR account through the Agents in local country. Gold2ex is the exchanger service located in China. I used it to convert LR to RMB funded into China local bank.

Here is the exact steps on how I do it: (Providing I have an account in Maybank2u, Liberty Reserve, Gold2Ex)

  1. Funds LR via Snapgold (I was funded in3 hours time)
  2. Transfer my LR funds to Gold2ex LR account (Register the transaction details first on gold2ex website)
  3. Gold2ex transferred the funds to Recipient's China local bank ( in 1+ hour time)

Overall, I completed the transferring process in 4+ hours. By comparing the money I paid and the funds recipient received in China, I get the Forex RATE of 1USD = 1.84556 RMB.

14Nov/090

Bullion and Bandits: The Improbable Rise and Fall of E-Gold

dougjackson07

MELBOURNE, Florida — In a sparsely decorated office suite two floors above a neighborhood of strip malls and car dealerships, former oncologist Douglas Jackson is struggling to resuscitate a dying dream.

Jackson, 51, is the maverick founder of E-Gold, the first-of-its-kind digital currency that was once used by millions of people in more than a hundred countries. Today the currency is barely alive.

Stacks of cardboard evidence boxes in the office, marked “U.S. Secret Service,” help explain why, as does the pager-sized black box strapped to Jackson’s ankle: a tracking device that tells his probation officer whenever he leaves or enters his home.

“It’s supposed to be jail,” he says. “Only it’s self-administered.”

Jackson, whose six-month house arrest ends this month, recently met with Wired.com for his first in-depth interview since pleading guilty last year to money laundering-related crimes, and to operating an unlicensed money transmitting service. His tale is one of countless upstarts and entrepreneurs who approached the internet with big dreams, only to be chastened by sobering realities. But his rise and fall also offers a unique glimpse at the web’s frontier halcyon days, and the wilderness landscape that still covers much of the unregulated and un-policed web, where fraud artists prospect for riches alongside pioneers, and sometimes stake, and win, a claim on their territory.

Despite the shackle, Jackson’s conviction isn’t black and white. In a twist still unacknowledged by prosecutors, Jackson turned E-Gold for a time into one of law enforcement’s most productive honey pots, providing information that helped lead to the arrest and conviction of some of the web’s most wanted credit card thieves and hackers. He’s now working with regulatory agencies to try to bring back E-Gold, steps he says he would have taken voluntarily years ago if authorities had given him a chance.


Following his story, the picture that emerges of Jackson is not a portrait of a calculating criminal. Rather it is one of a naive visionary who thought his dream was bigger than any financial regulations, who got in over his head, and who finally struggled, too late, to make up for his missteps.

“There was no indication at all that anyone had a problem with what he was doing,” says Richard Timberlake, a former economics professor at the University of Georgia and author of several books on U.S. banking. Timberlake visited Jackson at his E-Gold office in 1997 and vouches for Jackson’s innocent intentions. “He was always very honest and very forthright in what he was trying to do as a business. Even the Federal Reserve believed it was legitimate.”

The story of the first digital currency backed entirely by gold and silver began in 1995, while Jackson was still treating cancer patients. A longtime student of economic history, Jackson was convinced that gold was a superior currency to paper money, despite the consensus among professional economists that a gold-standard prevented governments from responding quickly to monetary crises; when an economy faltered, treasuries couldn’t easily manufacture gold bars to stimulate it.

The United States dropped its reliance on gold in 1971, but Jackson doubted the wisdom of this move. “Many a paper currency has spun out of orbit in a calamitous trajectory,” he once wrote. “There has never been an instance of gold or silver being discarded as worthless.”

It was time, Jackson mused, for a radical rethink of money. Had he been born in another era, he could scarcely have acted on his beliefs. But the nascent internet changed everything. The international, 24-hour churn of e-commerce cried out for a monetary system that transcended borders and time zones. So in early 1996, Jackson began programming a back-end system for a new electronic currency, practicing medicine by day, and coding by night.