Go to most recent revision |
    Details |
    Last modification |
    View Log
    | RSS feed
  
  
  
     
        
        | Rev | 
        Author | 
        Line No. | 
        Line | 
        
     
     
        
           | 1 | 
           rodolico | 
           1 | 
           <?php
  | 
        
        
            | 
            | 
           2 | 
              | 
        
        
            | 
            | 
           3 | 
              global $loginScriptName;
  | 
        
        
            | 
            | 
           4 | 
              | 
        
        
            | 
            | 
           5 | 
               $loginScriptName = 'login.html'; // this is the name of the login script. If the user is not logged in, this will be called no matter what else is happening
  | 
        
        
            | 
            | 
           6 | 
              | 
        
        
            | 
            | 
           7 | 
              | 
        
        
            | 
            | 
           8 | 
              mysql_connect("localhost", "camp2", 'camp2') or die(mysql_error());
  | 
        
        
            | 
            | 
           9 | 
              mysql_select_db("camp2") or die(mysql_error());
  | 
        
        
            | 
            | 
           10 | 
              | 
        
        
            | 
            | 
           11 | 
              include_once('functions.php');
  | 
        
        
            | 
            | 
           12 | 
              | 
        
        
            | 
            | 
           13 | 
              | 
        
        
            | 
            | 
           14 | 
           ?>
  |