> -----Original Message----- > From: Analysis & Solutions [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] Any Ideas "@" becomes "_Xy" > > On Sat, May 18, 2002 at 11:45:49AM +0100, Henry wrote: > > > > > http://GetResponse.com/k.cgi?a=blahblah&f=henry_Xyteacake.force9.co.uk > > I subscribed using the email address [EMAIL PROTECTED] > > They appear to have translated the "@" symbol to "_Xy". > > Any guess why? Is there a PHP function that does this > translation for me? Is > > it some sort of standard? > > That's something they did manually to their own standard. > The standard > encoding for @ is %40. Why? Beats me. They don't really need to. > Encoding URL's can be done via urlencode() and urldecode(). > > If you want to do the same thing they're doing, you can use > str_replace(): http://www.php.net/manual/en/function.str-replace.php > > Enjoy, > > --Dan
Perhaps they did it to thwart "smart" spambots that can translate "%40" to "@". --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php