PHP源码的,不知道适不适合你http://www.tingyue.com/Dir128/Page_2245D.htmhttp://www.tingyue.com/Dir128/Page_2246B.htm