Hey,
What I am trying to do, is be able to show a webpage, with the person still logged in.
This was my initial idea:
<?
$site = "http://phpbuilder.com/board";
$display = file_get_contents( $site );
echo $display;
?>
That would merely take the source code of the PHPBuilder board, and display the the board. But, even if I was in fact logged in at PHPBuilder, the display would show it as if I were not logged in, because it is not using the cookies from PHPBuilder. I am only using PHPBuilder as an example.
I was to some how be able to set that cookie to a var, and display that website (using that cookie), so it WILL show them logged in (using cookie info).
Someone suggested I use CURL, but I did not understand when I researched it. It would be great if someone could type a short code that would display PHPBuilder, logged in using cookie information.
Thanks,