Phpvoter 0 6 > Phpvoter 0.6 / Data / Basic Auth.inc.php

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Phpvoter 0 6

Download:
phpvoter-0-6.zip

Category:
Polls And Voting

Archive Content:

Phpvoter 0.6

Phpvoter 0.6 > Data

Phpvoter 0.6

Phpvoter 0.6 > Includes

Phpvoter 0.6

Phpvoter 0.6 > Languages

Phpvoter 0.6

Phpvoter 0.6 > Templates > Default

Phpvoter 0.6 > Templates > Wrnu

Phpvoter 0.6

Basic Auth.inc.php:


<?php
/* Extremely simple authentication script */

/* This is no protection at all,  everyone is allowed access. */

// Authenticate user by username and password.
function authenticate($user,  $pass) {
    if (
$user == "user" && $pass == "pass") {
        return 
true;
    } else {
        return 
false;
    }
}

// Returns an array with username and password.
function getUser() {
    
$autharray = array("user",  "pass");
        return(
$autharray);
}    

// Shows a login box
function login() {
    
}

?>



Other Polls And Voting Scripts:

WebMaster Resources Home

©RingsWorld.com