Re: String Type Unknown

From: Date: Wed, 02 May 2001 17:08:42 +0000
Subject: Re: String Type Unknown
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51170@lists.php.net to get a copy of this message
From a field in an instantdb database (http://instantdb.enhydra.org) Nathan Cook ncook@pcsedu.com ----- Original Message ----- From: "Anuradha Ratnaweera" <anuradha@gnu.org> To: "Nathan Cook" <ncook@pcsedu.com> Cc: "Php List" <php-general@lists.php.net> Sent: Tuesday, May 01, 2001 11:03 PM Subject: Re: [PHP] String Type Unknown > > Since it contains only digits 0-9 and letters a-f, it looks like > hexadecimal. Why don't you try to read two characters at a time and either > convert them to binary or check their ascii values. There seem to be many > ascii values however. > > Where did you get this from? > > Anuradha > > On Mon, 30 Apr 2001, Nathan Cook wrote: > > > I have this string: > > > > 0ffffffac0ffffffed0005737200146a6176612e7574696c2e50726f7065727469657339120fffff > > fd07a70363e0ffffff980200014c000864656661756c74737400164c6a6176612f7574696c2f5072 > > 6f706572746965733b787200136a6176612e7574696c2e486173687461626c65130ffffffbb0f252 > > 14a0ffffffe40ffffffb803000246000a6c6f6164466163746f724900097.... > > > > And I don't know what type it is. It is it a binary string? Can I convert it > > to text and if so, how? > > > > Thank You, > > Nathan Cook > > ncook@pcsedu.com > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#51170) next »