title: Posting in a form using CURL PHP
body: <p>this is the form:</p>
  
  <pre><code>&lt;textarea name="message" id="messageContent" rows="18" wrap="virtual" tabindex="2"&gt;&lt;/textarea&gt;
  
      &lt;span id="formSubmit"&gt;
  &lt;a href="#" class="formSubmit" tabindex="3"&gt;
  &lt;img src="/clear.gif" class="master-sprite sprite-pm-send"&gt;
  &lt;/a&gt;
      &lt;/span&gt;
  </code></pre>
  
  <p>the formSubmit class is an Ajax function I tracked down on the source code, I used Fiddler to capture the params I needed to POST and found this:</p>
  
  <pre><code>callCount=1
  c0-scriptName=PostFunctions
  c0-methodName=insertPost
  c0-id=1894_1310435282892
  c0-param0=number:1578007
  c0-param1=string:Hello%20World!
  xml=true
  </code></pre>
  
  <p>Hello World! was what I wrote on the textarea and posted, fiddler also found a cookie on header, not sure if I need to use it. Can someone help ? I'm trying to post that for 2 days now, this is really making me crazy ! thanks</p>