PHP Classes

File: test_access

Recommend this page to a friend!
  Classes of Javier Campo Martínez   ADSI Access   test_access   Download  
File: test_access
Role: Unit test script
Content type: text/plain
Description: Code to test the file
Class: ADSI Access
Validate the access using Windows Active Directory
Author: By
Last change:
Date: 20 years ago
Size: 419 bytes
 

Contents

Class file image Download
<HTML>
<?php
/*
* Your webmaster must create a group named "Test" for testing purposes
* Then, he must add some user(s) (including yours) in the "Test" group
* Finally, run this page and see if this works :)
*/

include("./class_adsi_access.php");

$objValidar = new acceso;
$objValidar->validar_acceso("Test");
?>
<h2>If you see this message, it's because you are included in the user group.</h2>
</HTML>