<?php require_once './includes/app.php'; $acti = new tmpActiKunden(); $acti->SetData(array('session_id' => session_id(), 'strasse' => $_POST['street'])); $acti->Update(false);
<?php require_once './includes/app.php'; $acti = new tmpActiKunden(); $acti->SetData(array('session_id' => session_id(), 'plz' => $_POST['plz'])); $acti->Update(false);
<?php require_once './includes/app.php'; $acti = new tmpActiKunden(); $acti->SetData(array('session_id' => session_id(), 'nachname' => $_POST['nachn'])); $acti->Update(false);
<?php require_once './includes/app.php'; $acti = new tmpActiKunden(); $acti->SetData(array('session_id' => session_id(), 'passwort' => md5($_POST['pass']))); $acti->Update(false);
<?php require_once './includes/app.php'; $finder = new tmpFinderKunden(); $finder->setWhere("session_id = '" . session_id() . "'"); $rs = $finder->getOne(); $acti = new ActiKunden(); $acti->SetData(array('email' => $rs['email'], 'passwort' => $rs['passwort'], 'vorname' => $rs['vorname'], 'nachname' => $rs['nachname'], 'strasse' => $rs['strasse'], 'plz' => $rs['plz'], 'ort' => $rs['ort'])); $acti->Update(); $acti = new tmpActiKunden(array('session_id' => session_id())); $acti->Delete();
<?php require_once './includes/app.php'; $artfind = new FinderKunden(); $artfind->setWhere("email = '" . $_POST['mail'] . "'"); $rs = $artfind->getOne(); if (isset($rs) && !empty($rs)) { echo "vorh"; } else { $fnd = new tmpFinderKunden(); $fnd->setWhere('session_id = \'' . session_id() . '\''); $myrs = $fnd->getOne(); if (isset($myrs) && !empty($myrs)) { $upd = false; } else { $upd = true; } $acti = new tmpActiKunden(); $acti->SetData(array('session_id' => session_id(), 'email' => $_POST['mail'])); $acti->Update($upd); echo "nvorh"; }