You are here: Curl(): maximum length of POST arguments? « All PHP « IT news, forums, messages
Curl(): maximum length of POST arguments?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация