PHP forward POST variables to other page

daisynuppy

New Member
I have html form and I have to submit that form on same page where's that form, add POST variable and then all variables pass to next page. I tried this:\[code\] <form method="POST" action=""> <input type="TEXT" name="names" /> <input type="TEXT" name="email" /> <input type="submit" name="send" /> </form>\[/code\]and then this PHP Code:\[code\]if($_POST['send']){ $_POST['digest'] = "someText here"; header("HTTP/1.0 307 Temporary redirect"); header("Location:https://nextpage.com/form");}\[/code\]But when i get redirected to another page, all POST data are sent except "$_POST['digest']".. What should I do ? Thanks and sorry for bad english.
 
Top