Posted by Bonge Boo! on 07/01/06 10:21
I'm trying to query a form using curl, so that I can manipulate the data it
returns before pushing it to the browser.
If I just use a normal POST form it work fine. However if I use curl() then
the script gives an error. One things that springs to mind is the length of
the POST data. Its really long. So long if I try to use file_get_contents()
it complains.
Is there any restriction on how long the CURLOPT_POSTFIELDS can be?
curl_setopt($ch, CURLOPT_POSTFIELDS, urlencode($query));
Navigation:
[Reply to this message]
|