RE: Convert a string to ASCII

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Shaun [mailto:shaunthornburgh@xxxxxxxxxxx] 
> Sent: Friday, February 11, 2005 4:44 PM
> To: php-general@xxxxxxxxxxxxx
> Subject: Re:  Convert a string to ASCII
> 
> 
> 
> "Jay Blanchard" <jay.blanchard@xxxxxxxxxxxxxxxxxxxxx> wrote 
> in message 
> news:C8F323573C030A448F3E5A2B6FE2070B03523172@xxxxxxxxxx
> [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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux