Hi Everyone!

HELP!!!

I'm using PHP and CURL on Apache running on Windows 2000. libcurl 7.9 (OpenSSL 0.9.6a) and PHP 4.1.1

My first (most important) question:

I'm attempting to use this optional field to post data. But the variable value is being ignored. Does anyone have any idea how to force it to pass the value?

curl_setopt($ch,CURLOPT_POSTFIELDS,"name1=$var1&name2=$var2");

name1 and name2 is passed, but $var1 and $var2 is not. If I hard code the value, it passes. If it's a variable, it ignores it.

My second question:
CURL has tons of docs on the command line interface, but I can't even find one on the setopt style of interface. Can anyone provide a list or link or anything that would give me a list of setopt's ??

Thanks in advance to anyone who's willing to assist!

Thank you,
Dan Brown

    Write a Reply...