I am trying to automatically submit a form without the user knowing. I want the form to run anonymously and not change the page. The issue I have is that I do not have access to the php page that is the action of the form. Is it possible to do this without changing anything in the action page?
Edit: I have found my answer! What I do is add a hidden iFrame to submit the form in the background!
Ex.
Formsubmit.php:
index.php:
Edit: I have found my answer! What I do is add a hidden iFrame to submit the form in the background!
Ex.
Formsubmit.php:
Code:
<form id="form">
</form>
<script type="text/javascript">
document.getElementById("form").submit();
</script>
index.php:
Code:
<iframe src="Formsubmit.php" height="0" width="0"></iframe>
Last edited: