Re: cURL and sending an POST with an @ as first char.
| From: | Jo�o C�ndido de Souza Neto | Date: | Thu, 24 Aug 2006 12:48:41 +0000 |
| Subject: | Re: cURL and sending an POST with an @ as first char. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241081@lists.php.net to get a copy of this message | ||
I think urlencode can solve this.
"Mathijs" <m.v.veluw@smscity.nl> escreveu na mensagem
news:B6.7A.54001.0AE7DE44@pb1.pair.com...
> Hello there,
>
> I Have a question about cURL and sending POST data.
>
> I have an array with values which are needed for an POST.
> There is one value which starts with an @.
> This gives me a error: ErrorNo.: 26, ErrorMsg: 'failed creating formpost
> data'.
>
> This is becouse an @ at the start of a value is treated as an File upload
> or something.
>
> I realy need this to be an @ at the start, and i can't add an space
> infront of it.
>
> How can i fix this.
> Tryed searching cURL's website didn't found anything (yet).
>
> Thx in advance.