Jump to content

Recommended Posts

curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields);

 

curl_setopt($ch, CURLOPT_POSTFIELDS, $postParams);

when i try to post just form data i can also when i post just file its also okay but i cant post both of them . i try every thing on internet but nothing work :(

i also merge on arary '

$alldata = array("data" => $data,"fileData " => $fileData);' but not works

i have to say that my from data 'string' but file is array 

please help me

thank you soo much

Insufficient information. You probably need to post more code. What are your curl_setopts? Particularly CURLOPT_POSTFIELDS? Be sure to use the code icon (<>) in the top menu and specify PHP. What post information does the web site expect and how do you create it? You also need to tell us what the error message is or what you get that is different from what you expect.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.