I've got a PHP page that parses some data, picks a response for the user, and then forwards a new page to that user containing the response. For example...
<?php // page1.php
if( $foo == 1 ) $message = 'Looks like rain.';
else $message = 'Leave your umbrella at home.';
header( "Location: page2.php?message=$message" ) ;
?>
and then...
<?php // page2.php
echo $message;
?>
Unfortunately, the user is left with an address that reads something like "http://www.myserver.com/page2.php?message=Looks%20like%20rain." and frequently a great deal more, depending on what kind of variables are being passed. I'd rather give the user a more readable (and bookmarkable) address.
Is there a (simple?) way that I can pass this data invisibly, perhaps using "POST" vars instead of "GET" vars? I understand that it's possible using CURL but I'd rather not go that far.