Re: Re: [PHP-WIN] Character Problem

2004-02-25 Thread Meteorlet Woody
John Lim,Hello! Thank you so much. How stupid I am to ignore the CHR function! by the way,do you have any idea about converting a number,which is larger than 255,into a byte stream? === 2004-02-25 20:20:00 === >The most elegant way is probably: > >for ( $i = 0; $i <=255

Re: [PHP-WIN] Character Problem

2004-02-25 Thread John Lim
The most elegant way is probably: "Meteorlet Woody" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I got it. > > for ( $i = 0; $i <= 255; $i++ ) > { > $Dictionary[] = sprintf("%c",$i); > } > ?> > > === 2004-02-25 18:00:06 === > > >Hi,everyone! > > > > When I want to cre

Re: [PHP-WIN] Character Problem

2004-02-25 Thread Meteorlet Woody
I got it. === 2004-02-25 18:00:06 === >Hi,everyone! > > When I want to create a character dictionary,I meet a problem. >The problem is that how to put the characters (256 ASCII,including nonprintable) >in an array in one loop. > > I can do like this: >

Re: [PHP-WIN] Character Problem

2004-02-25 Thread Jesper Palmqvist [Talarforum i Skandinavien AB]
Hi Would try /Jesper -Ursprungligt meddelande- Från: Meteorlet Woody [mailto:[EMAIL PROTECTED] Skickat: den 25 februari 2004 11:00 Till: php-windows Ämne: [PHP-WIN] Character Problem Hi,everyone! When I want to create a character dictionary,I meet a problem. The problem

[PHP-WIN] Character Problem

2004-02-25 Thread Meteorlet Woody
Hi,everyone! When I want to create a character dictionary,I meet a problem. The problem is that how to put the characters (256 ASCII,including nonprintable) in an array in one loop. I can do like this: But when I want to do by using loop,it doesn't work.