Re: Headers, JavaScript & PHP

From: Date: Thu, 11 Oct 2001 13:16:34 +0000
Subject: Re: Headers, JavaScript & PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70785@lists.php.net to get a copy of this message
If you want to autopost you can use this javascript: <script> form1.submit(); </script> "Kamil Nowicki" <hilarion@elfin.pl> wrote in message news:003b01c1524a$2990d660$d101a8c0@elfin... > > 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 >

« previous php.general (#70785) next »