Kawałek skryptu
  1. <?php
  2. if($user)
  3. {
  4. header("P3P: CP='NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM'");
  5. if(setcookie($settings['cookiename'], "", time() - 7200))
  6. {
  7. $user = 0;
  8. echo '<html>
  9.  <head>
  10. <meta http-equiv="refresh" content="0;url=index.php">
  11.  </head>
  12.  <body>
  13. <a href="index.php">Redirect</a>
  14.  </body>
  15. </html>';
  16. }
  17. else
  18. {
  19. echo '<html>
  20.  <head>
  21. <meta http-equiv="refresh" content="3;url=index.php">
  22.  </head>
  23.  <body>
  24. <a href="index.php">Cannot remove cookie!</a>
  25.  </body>
  26. </html>';
  27. }
  28. }
  29. ?>

Na operce pokazuje się Redirect, po czym niewylogowuje (czasami). Ktoś wie czym to jest spowodowane?

nikt nie wie?sad.gif