<?php
/**
* the array may come from another script. it may secure contain secure password
* no problem at all!!!!!!!
*/
session_start();
include_once 'http.auth.cls.php';
$httpauth=new HTTPBasicRealmAuth('project for user by array of 2013', array('razon'=>'321', 'admin'=>'admin', 'demo'=>'demo'));
#$httpauth=new HTTPBasicRealmAuth('project for user by array of 2013', array('razon'=>md5('321'), 'admin'=>md5('admin'), 'demo'=>md5('demo')), NULL, true);
include 'secure.file.eg.php';
|