pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

PHP ZTDev Pastebin View Help

Posted by Anonymous on Thu 28th May 07:08 (modification of post by view diff)
download | new post

  1. <?php
  2.  
  3. /* Login check function written by Mark Cutting
  4. Prevents users from being able to access the application through
  5. bypassing the login screen
  6. */
  7.  
  8.  
  9. //instead of session_is_registered();
  10. if(isset($_SESSION['username']))
  11. {
  12.      
  13. }
  14. else
  15. {
  16.     header("Location: index.php");
  17. }
  18.  
  19. // End check login function
  20.  
  21. ?>

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me