Ok, on the origonal page you need to use php to dynamicly write the username and password into a hidden form. It'll look something like this:
<form action="nameOfSecondPage.php" method="post">
<input type="hidden" name="username" value="<?php $username ?>">
<input type="hidden" name="password" value="<?php $password ?>">
<input type="submit" value="Goto next page">
</form>
Then on the second page you just get the variables that you sent, like so:
<?php
$username=$_POST['username'];
$password=$_POST['password'];
?>
Hope that helped, feel free to ask if you have any other questions
Reply