title: How to submit a form of a html page using php
body: <p>i need to know if is possible to load an html page and submit the form inside this page using php. so something like:</p>
  
  <pre><code>&lt;?php
     $html = fopen("http://www.mysite.com","r");
     //get position of form...
     ...
     //submit it 
  ?&gt;
  </code></pre>
  
  <p>is possible? can someone help me? thanks!!!</p>
  
  <p>EDIT:</p>
  
  <p>i have to submit this form </p>
  
  <pre><code>https://annunci.ebay.it/pubblica-annuncio
  </code></pre>
  
  <p>my problem is that in this page there is an image upload and i don't know how to do that using php( scraping it )</p>