RE: [PHP] Any Ideas "@" becomes "_Xy"

From: Date: Mon, 20 May 2002 20:31:12 +0000
Subject: RE: [PHP] Any Ideas "@" becomes "_Xy"
Groups: php.general 
Request: Send a blank email to php-general+get-98519@lists.php.net to get a copy of this message
> -----Original Message----- > From: Analysis & Solutions [mailto:danielc@analysisandsolutions.com] > 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 henry@teacake.force9.co.uk > > 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 ScottH@eac.com Voice: 201-462-2149 Fax: 201-288-1515

« previous php.general (#98519) next »