954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

curl: a simple & strange problem !!!!! plz help me

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

wickietetsu
Newbie Poster
1 post since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

you could try encoding it

whiteyoh
Posting Pro in Training
479 posts since Jun 2009
Reputation Points: 15
Solved Threads: 15
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: