Say I have a string in php, that prints out to a text file like this:
nÖ§9q1Fª£
How do I get the byte codes of this to my text file rather than the funky ascii characters?
asciibytecodephpstring
Say I have a string in php, that prints out to a text file like this:
nÖ§9q1Fª£
How do I get the byte codes of this to my text file rather than the funky ascii characters?
Best Solution
Use the ord function
http://ca.php.net/ord
eg.