fogproject  1.5.9
About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.
  Fossies Dox: fogproject-1.5.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

checkcredentials.php
Go to the documentation of this file.
1 <?php
22 require '../commons/base.inc.php';
23 try {
24  $username = trim($_REQUEST['username']);
25  $username = base64_decode($username);
26  $username = trim($username);
27  $password = trim($_REQUEST['password']);
28  $password = base64_decode($password);
29  $password = trim($password);
31  ->passwordValidate($username, $password);
32  if (!$userTest) {
33  throw new Exception('#!il');
34  }
35  echo '#!ok';
36 } catch (Exception $e) {
37  echo $e->getMessage();
38 }
FOGBase\getClass
static getClass($class, $data='', $props=false)
Definition: fogbase.class.php:439
$password
$password
Definition: checkcredentials.php:27
$username
$username
Definition: checkcredentials.php:25
$userTest
$userTest
Definition: checkcredentials.php:30