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: 4 years 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';
?>