| 12:30 pm on Aug 26, 2004 (gmt 0)|
You could do this in several ways...
Let's say that page1 sends usr+psw to page2
Page 2 will to whatever, and this page will call the
page3 passing the usr+psw+whatever to page3.
(at least that's what I have understood on your request)
So page2 could call page3 in:
. <META HTTP-EQUIV=Refresh CONTENT="0; URL=http://site.com/page3.php?var1=123&var2=123">
The bas side of this is that variables are then seen in the url field. But a hashing of them, or even encrytion can solve that issue.
. header("Location: [site.com...] This will work in all browsers, but has the same problem as above.
Hope it helps.
| 12:55 pm on Aug 26, 2004 (gmt 0)|
| 3:54 pm on Aug 26, 2004 (gmt 0)|
<form name="gateway" action="page3.php" method="POST">
<input type="hidden" name="var1" value="123">
<input type="hidden" name="var2" value="123">
<input type="hidden" name="var3" value="123">
<input type="submit" value="continue to login">
add the event to body.. onLoad="document.gateway.submit();"
Good luck ;)
| 4:18 pm on Aug 26, 2004 (gmt 0)|
| 1:18 pm on Aug 28, 2004 (gmt 0)|
You could use PHP session handling [php.net] to store the userid and pwd info server-side, then make your own POST to the mail login with PHP's header() [php.net] function.
| 11:50 pm on Aug 29, 2004 (gmt 0)|
I make use of header("Location: newpage.php")
as well as making calculations in a php page, then including() another page within it. My php.ini is setup to buffer everything so that I can set cookies/sessions at any time during the process.
| 8:49 am on Aug 30, 2004 (gmt 0)|
Thanks for the replies. So using a header redirect would be the best thing. Then how do I go about sending the post info. I'm going to have a look at url_rewriter.tags and see if that would work.