> -----Original Message-----
> From: Shaun [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 11, 2005 4:44 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Convert a string to ASCII
> 
> 
> 
> "Jay Blanchard" <[EMAIL PROTECTED]> wrote 
> in message 
> news:[EMAIL PROTECTED]
> [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 
> 
http://us3.php.net/function.ord
HTH,
Jesse R. Castro

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to