I hope someone can help me with this drama.
I have made a test.php page and used file_get_contents option to output the the target URL. The URL and test.php both are on same domain and server. how ever the URL content are nicely displayed but It doesnt show me as logged in. But I am logged in my website
Below are the scripts in my test.php file that I managed to put together after doing some Google search
<?php $home = file_get_contents("http://MyTargetURL.com". "?" . session_name() . "=". session_id()); echo $home;; ?>
Thats it. I dont know what else should i do to make the log in issue work. should i type sth
) or anything ?
Thanks in Advance