hi
there are a hidden in a post script such as this:

<form method="POST" >
	<input type="text" name="test1">
	<input type="hidden" name="test2" value="example123==">
	<input type="submit" value="go">
</form>

so
in curl:

curl_setopt($ch, CURLOPT_POSTFIELDS, "test1=sss&test2=example123=="); // Pass form Fields.

and this is wrong !
because in end of hidden value there is "==" ;
so how can i solve this problem?!

i m thanks your help.
hamid

you could try encoding it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.