Re: Convert a string to ASCII

From: Date: Fri, 11 Feb 2005 22:43:46 +0000
Subject: Re: Convert a string to ASCII
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-208573@lists.php.net to get a copy of this message
"Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message news:C8F323573C030A448F3E5A2B6FE2070B03523172@nemesis... [snip] Is it possible to create an ascii representation of a string with php, i had a look on the site but with no luck :( [/snip] You mean like this? __________________________________________________ ^(picture of a string, obvious).....j/k Do you mean the ascii values for a string? Yes it is possible, it only requires that you use one of the regex or replace functions Hi, Thanks for your reply, yes for each character in the string I need to replace it with its ascii representaion

« previous php.general (#208573) next »