Page 1 of 1

How can I convert a byte from a binary file to a decimal

Posted: Thu Aug 05, 2004 11:59 am
by Benjamin
I'm searching for a way to do this, anyone have any ideas?

Posted: Thu Aug 05, 2004 12:02 pm
by Weirdan
[php_man]ord[/php_man] ?

Posted: Thu Aug 05, 2004 12:07 pm
by Benjamin
Hey thanks! I didn't even try that because I assumed it would only work for ascii but it converts everything!