Re: Headers, JavaScript & PHP

From: Date: Thu, 11 Oct 2001 12:01:16 +0000
Subject: Re: Headers, JavaScript & PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70781@lists.php.net to get a copy of this message
Don't know about posting data, but were you able to use GET, life would be easier... You could redirect to one page, e.g. Header("Location: mypage.html?variable1=test&variable2=notest"); And then in mypage.html you could have a line: Header("Location: thankyoupage.html"); mypage.html wouldn't show up in the browser history. Thomas.
    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@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#70781) next »