I need to submit a form with action is:"http://www.destination.com/hotelbooking" as "http://www.destination.com" but I do not own that site.
My site is http://www.mysite.com, after the submitting, url in my browser is "http://www.mysite.com/bookingstatus" instead of "http://www.destination.com/bookingstatus".
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).(*My edit)
How can I solve this problem? This is my form:
<form name="booking" method="post" action="https://www.destination.com/hotelbooking" >
<input name="roomsnum" type="text">
<input name="adultnum" type="text">
<input name="childnum" type="text">
<input name="infannum" type="text">
<input name="roomsize" type="text">
<input name="submit" type="submit" value="booking">
</form>
Thanks a lot