Hello csko,

Friday, March 5, 2004, 4:02:07 PM, you wrote:

c> Is there a function to convert a ASCII char to decimal or binary?

Decimal = ord($str)
Binary = decbin(ord($str))

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to