[PHP] Re: Headers, JavaScript & PHP From: _lallous (elias_bachaalany <email protected>)
Date: 10/11/01

If you want to autopost you can use this javascript:

<script>
form1.submit();
</script>

"Kamil Nowicki" <hilarion <email protected>> wrote in message
news:003b01c1524a$2990d660$d101a8c0 <email protected>
>
> Hello
>
> Is there a way to make a page autosubmit (autoredirect
> to another page with POSTing data) without staing in
> browser history? (Something like JavaScript:
> window.location.replace('url') but posting values.)
>
> The situation is:
> Some other webserver has a form, which posts data to my
> webserver. I have to put it into my database and redirect
> the data (not by URL) back to the webserver which sent
> it to me (to "Thank You" page). The problem with
> autosubmiting form is that my webpage stays in browser
> history, so going back from "Thank You" page gets
> to my page again and autosubmits again. The problem with
> window.location.replace('url') is that "Thank You"
> page gets data passed by URL, which I do not want.
>
> Please help me, and Thank You.
>
> Kamil 'Hilarion' Nowicki
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>