On 09/06/2006 10:34 AM, Jeff Loiselle wrote: > $response = str_replace('\x', '%', $response); > $response = urldecode($response); Note: If one relies on (icky) "magic_quotes_gpc = On" (who does this anymore, right?) you could get '\x27' in your request that, after the above two lines, would be an unescaped ' flav