Hello.
I need a form to automatically be submitted instead of clicking the submit button.
I guess you could somehow do it with the header commands in PHP but how?
The form:
<form action="payment_window.php" method="post">
<input type="text" value="300" name="amount" />
<input type="text" value="1" name="capture" />
<input type="text" value="885588" name="merchant" />
</form>
What Im thinking is somehow using headers in PHP like:
<--- Some code that set the post data headers --->
header('Location: payment_window.php');
exit;
Best regards