[PHP] is there any setting to declare the member variables in constructor?

2010-03-27 Thread solo hsi
now i'm re-writing some script to output pdf files. the original code is based on fpdf, but as you know, fpdf can't deal with the characters in utf8. so i want to change it to tcpdf. there is a class extend from fpdf, in its constructor function, there is some script just like "$this->db = $db;". t

Re: [PHP] Converting funky characters

2010-03-28 Thread solo hsi
i think you just need function urldecode() On Mon, Mar 29, 2010 at 8:05 AM, Skip Evans wrote: > Hey all, > > What's the best way to filter/convert characters that don't > translate properly from say news stories to HTML? > > For example, I have a form that people cut and paste the lead > in p

Re: [PHP] is there any setting to declare the member variables in constructor?

2010-03-29 Thread solo hsi
sure, i know fpdf can deal with asian character like Chinese, but it can't work with utf-8 charactor so that i have to replace it with tcpdf. On Mon, Mar 29, 2010 at 8:14 PM, Richard Quadling wrote: > On 27 March 2010 17:50, solo hsi wrote: >> now i'm re-writing some script

Re: [PHP] is there any setting to declare the member variables in constructor?

2010-03-29 Thread solo hsi
i have done my work, replaced fpdf with tcpdf, just by using fpdi:) On Tue, Mar 30, 2010 at 12:12 AM, Richard Quadling wrote: > On 29 March 2010 16:47, solo hsi wrote: >> sure, i know fpdf can deal with asian character like Chinese, but it >> can't work with utf-8 charact