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.

    your code sample isn't enough for anyone to figure this out - I hate replying unnecessarily but suggest you give more of your code - are you not receiving the hidden fields in the post or is php not generating the html for the hidden fields onthe form? your post is unclear about this.

    Samuel

      Write a Reply...