For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > June 2006 > Characters missing from CURL posts









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Characters missing from CURL posts
Andrew Milne

2006-06-24, 8:05 am

Hi there,

I'm using php 5.1.4 standalone to run some scripts. I have a problem
where I am submitting £ (uk pound) sign as part of an HTTP post to
another server. I am urlencoding the data before adding it as the
CURLOPT_POSTFIELDS option and when I check the urlencoded string, I can
see the %A3 representing the £ sign in the post. Is there something I
could be doing wrong which is causing this to be stripped before sending
it to the other server?

Any help would be much appreciated.

Regards,

Andrew

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com