/source/gl/logout.php

http://prosporous.googlecode.com/ · PHP · 21 lines · 14 code · 0 blank · 7 comment · 1 complexity · 59f988c68830ebfc94755f02099c0841 MD5 · raw file

  1. <?php
  2. /**??????UTF-8???.
  3. * Created on 2010-5-30
  4. *
  5. * @author EXT <isrn@qq.com>
  6. *
  7. */
  8. session_start();
  9. session_unset();
  10. session_destroy();
  11. ?>
  12. <script language="JavaScript">
  13. <!--
  14. function MM_goToURL() { //v3.0
  15. var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  16. for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
  17. }
  18. //-->
  19. </script>
  20. </head>
  21. <body onLoad="MM_goToURL('parent','./index.php');return document.MM_returnValue">