Page 1 of 1

CURL post variables 'corrupted'

Posted: Wed Jan 14, 2009 2:46 pm
by Parody
I am sending a serialized, gzcompressed array via POST using CURL and the received variable has had slashes added, characters changed and some missing. I have replaced & and = to ensure it remains a single variable, but does anyone know how you can send absolutely anything via CURL?

Most of the problem is that gzcompressing gives out html characters and some obscure characters that CURL feels the need to add slashes to. If you have had this problem and wrote a function to get around this problem I would be extremely grateful if you could let me know how to resolve it.