Posted by Jerry Stuckle on 09/20/06 11:52
admin@worstofboston.com wrote:
>>I am getting this error:
>>
>>
>>Warning: Wrong parameter count for curl_setopt() in D:\ULEM
>>WebSite\forms\middle.php on line 5 (This is the code above that you
>>wrote)
>>Message was not sent
>>Please tell the Administrator: Mailer Error: Could not instantiate mail
>>function.PHP Warning: Cannot open 'C:\\Program Files\PHP\extras' for
>>reading in Unknown on line 0
>
>
> I have been told that CURLOPT_POSTFIELDS expects a string, so $_POST
> will not work??? It also happens that many elements of my $_POST array
> are arrays...
>
> I am in over my head here...
>
> I apologize for all the questions...
>
No, you can't use arrays - but then you can't send a PHP array in a
header, anyway. You'll have to parse your $_POST array out into id/value
pairs, just like you would see in a GET with parameters.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|