check-manager-auth.php 394 B

12345678910111213141516171819
  1. <?php
  2. $opts = array(
  3. 'http'=>array(
  4. 'method'=>"GET",
  5. 'header'=>"Accept-language: en\r\n" .
  6. "Cookie: ci_session=" . $_COOKIE['ci_session'] . "\r\n"
  7. )
  8. );
  9. $context = stream_context_create($opts);
  10. // Open the file using the HTTP headers set above
  11. $file = file_get_contents('http://manager.stroyprofit.com/check_auth', false, $context);
  12. echo '<pre>';
  13. print_r($file);