hi,
sorry if i'm sending this to the wrong place, but
here's a patch (of the PHP_5_2 branch) that adds an extra option to curl
(CURLOPT_LITERAL_POSTFIELDS).
it is the exact same thing as CURLOPT_POSTFIELDS, except it skips the
check for leading '@' in the postdata, so you can post without fear or
accidentally uploading a file.
hope you like it and include it soon.
bye,
mihaly
huf (Berenyi Mihaly) - huf@keszen.hu - http://parawag.net
...........it's life jim, but not as we know it...........
hi,
Please provide a patch against trunk and 5.3 (could be added to 5.3.2
later). It will be nice if you can open a bug report as well in
http://bugs.php.net so we can keep it in our radar.
Thanks for your work!
Cheers,
hi,
sorry if i'm sending this to the wrong place, but
here's a patch (of the PHP_5_2 branch) that adds an extra option to curl
(CURLOPT_LITERAL_POSTFIELDS).
it is the exact same thing as CURLOPT_POSTFIELDS, except it skips the
check for leading '@' in the postdata, so you can post without fear or
accidentally uploading a file.hope you like it and include it soon.
bye,
mihalyhuf (Berenyi Mihaly) - huf@keszen.hu - http://parawag.net
...........it's life jim, but not as we know it...........--
--
Pierre