PHP Classes

File: loginpam.php

Recommend this page to a friend!
  Classes of Mark de Leon  >  PHP Document Scanner using SANE or eSCL AirPrint  >  loginpam.php  >  Download  
File: loginpam.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Document Scanner using SANE or eSCL AirPrint
Web interface to scan printed documents
Author: By
Last change:
Date: 1 year ago
Size: 189 bytes
 

Contents

Class file image Download
<?php

$uname
= $_POST['uname'];

$pswd = $_POST['pswd'];

 if (
pam_auth( $uname, $pswd, &$error ) )
 {
 echo
"You are authenticated!";
 }

 else
 {
 echo
$error;
 }

$test='hello';
?>

For more information send a message to info at phpclasses dot org.