Hello,
On 09/23/2004 01:56 AM, Jochen Daum wrote:
according to php.net, I should use CURLOPT_HTTPPOST to upload a file
with cURL. When I use it I get 'undefined constant'?
My php is compiled with curllib 7.11.2
Are you sure that Curl extension is enabled? Are you sure that is the
name of the constant?
Anyway, if that does not work, you may want to try this HTTP client
class that can work without Curl and supports form POST submissions, and
even form file uploading and SSL if needed.
http://www.phpclasses.org/httpclient
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html