Jump to content

converting into 7 Bit ASCII format in PHP, Is this possible??


Recommended Posts

Hi all,

I am looking for any method/function using which i can convert a character into its corresponding 7 Bit ASCII value using PHP.

For example ! (exclamation mark) has a 7 Bit ASCII value of !

Is there any function or way that returns the 7 bit ASCII value of a character? Any help would be appreciated greatly

Regards

Code Exploiter
hmmm yes it returns 33 which is the ASCII value of ! but in 7-bit ASCII format its value is [b]&33;[/b]. I wonder whether there is any other method that returns the exact 7 bit ASCII value rather than 33.

Thanks for the help you provided.

I hope to hear from u more about this in the future
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.