Re: Any Ideas "@" becomes "_Xy"

From: Date: Mon, 20 May 2002 20:29:12 +0000
Subject: Re: Any Ideas "@" becomes "_Xy"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98515@lists.php.net to get a copy of this message
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 -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

« previous php.general (#98515) next »