Re: cURL and line breaks
| From: | Andrew Kreps | Date: | Wed, 29 Dec 2004 00:50:42 +0000 |
| Subject: | Re: cURL and line breaks | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205277@lists.php.net to get a copy of this message | ||
Are you talking about the variable you're POSTing? Does it make a
difference if you urlencode the form var? Have you tried debugging
from the server end to see what cURL is passing over? I use cURL
quite a bit, although I've never tried passing muti-line form data.
On Tue, 28 Dec 2004 15:04:36 -0500, Mike Johnson <mike@smarterliving.com> wrote:
> Just thought I'd throw this one out there to test the waters...
>
> This past weekend, I was fiddling with cURL to create a "bot" that could
> auto-post to my phpBB message board on-demand. All was working well with
> getting it to login to the board and post, but the strange part came
> when I discovered that it would shear form vars at a \n character.
>
> I never did pinpoint it to whether it was cURL or phpBB doing it, but I
> suspected cURL. I also didn't do much testing outside of my application
> outside of messing with every CURLOPT_* setting I could lay my hands on.
>
> Has anyone ever run into something like this, though? I Googled to no
> avail...
>
> --
> Mike Johnson Smarter Living, Inc.
> Web Developer www.smarterliving.com
> mike@smarterliving.com (617) 886-5539
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>