Re: auto form submit
| From: | Daniel Berwig | Date: | Wed, 21 Nov 2001 16:43:29 +0000 |
| Subject: | Re: auto form submit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75402@lists.php.net to get a copy of this message | ||
A way to do it is puting a javascript like this at the end of the page:
<script language="Javascript">
<!--
document.form1.submit();
//-->
</script>
where form1 is the form name you have in the page. When the page is loaded,
it will then submit the form.
"Wm" <wm@blanktv.com> escreveu na mensagem
news:3BFAEE3A.F452CB0C@blanktv.com...
> hi all,
>
> if i pass data through a form (post) to a php script....(script must be
> separate from form)
>
> is there a way that this php script can then forward that data to
> another script without
> attaching it to the end of the url?
>
> thanks.
>