Posted by Locu on 04/12/06 19:33
Your problem is that it is process_this.php that has the form post
information, when you do the header request to forward to index5c.html
it's just like loading a fresh page with no post data.
To get around that, i'd use a session.
For example:
on both process_this.php and index5c.html put at the very top:
session_start();
Now in process_this.php put:
$_SESSION['realname'] = $_POST['realname'];
Then in index5c.html you can directly reference the session variable or
assign it and use it in your html:
<html>
Hello <?php echo $_SESSION['realname'] ?>.
</html>
Navigation:
[Reply to this message]
|