Forum Moderators: coopster
I am trying to convert a string of any given length (can include special characters such as :,/,-,.,etc...) into its decimal equivalent. I've tried all of the php functions I can find, but they all seem to deal with hex or binary.
For example:
h == 104 (it is ok if the function adds the html enties on h)
(here is a table of the decimal equivalents [neurophys.wisc.edu ])
I've tried:
HexDec()
bin2hex()
BinDex()
etc....
Can anyone tell me how to convert this value?
Thanks so much!
For example, given the string "HELLO", what output are you looking for?