Re: cURL and line breaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxx   (617) 886-5539
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux