title: How to submit a form to destination url as destination site
body: <p>I need to submit a form with action is:"<strong>http://www.destination.com/hotelbooking</strong>" as "<strong>http://www.destination.com</strong>" but I do not own that site.</p>
  
  <p>My site is <strong>http://www.mysite.com</strong>, after the submitting, url in my browser is "<strong>http://www.mysite.com/bookingstatus</strong>" instead of "<strong>http://www.destination.com/bookingstatus</strong>".</p>
  
  <p>I guess that the site force me to submit my form from a browser because if I use curl, it doesn't worked(but I need to do that with php).(<strong>*My edit</strong>)</p>
  
  <p>How can I solve this problem?
  This is my form:</p>
  
  <pre><code> &lt;form name="booking" method="post" action="https://www.destination.com/hotelbooking" &gt;
      &lt;input name="roomsnum" type="text"&gt;
      &lt;input name="adultnum" type="text"&gt;
      &lt;input name="childnum" type="text"&gt;
      &lt;input name="infannum" type="text"&gt;
      &lt;input name="roomsize" type="text"&gt;
      &lt;input name="submit" type="submit" value="booking"&gt;
   &lt;/form&gt;
  </code></pre>
  
  <p>Thanks a lot</p>