Jump to content

php cURL not sending form fields with empty values


lipong

Recommended Posts

Thanks for the reply, I check both with cURL and in the browser and the problem is that php is not sending the fields for which I have set a empty value such as:

 

Hi

 

My problem is the following, I`m posting info to a remote form on a website but there are some hidden fields that I have to submit that have empty values such as:

 

$data_array['_D:/bcp/cidadebcp/33/SCHBean_diaNascimento']=" ";

 

but the php is not sending those.

When I use the command line version of cURL then everything works fine and empty fields are sent.

Any ideas why this might be happening.

 

Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.