diff options
| author | Horus3 | 2014-09-25 10:33:47 +0200 |
|---|---|---|
| committer | Horus3 | 2014-09-25 10:33:47 +0200 |
| commit | 1fe76ba743a3418da9a0883b29756d442384d0bc (patch) | |
| tree | 091910ffd183d94c0f8b70a8f4c362f733033b03 /oldwww/update.php | |
| parent | 2036626b560f22efd59673187a2de3b1319fcf8a (diff) | |
| download | jungegemeinde-1fe76ba743a3418da9a0883b29756d442384d0bc.tar.gz | |
init
Diffstat (limited to 'oldwww/update.php')
| -rw-r--r-- | oldwww/update.php | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/oldwww/update.php b/oldwww/update.php deleted file mode 100644 index e59bf8e..0000000 --- a/oldwww/update.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php - -/* Copyright Maximilian Möhring, 2013 -Licensed under the GPL. Read LICENSE for more Information.*/ - -include('auth.php'); -/*error_reporting(E_ALL); - -ini_set('display_errors', '1');*/ - -$id = SQLite3::escapeString($_POST["id"]); -$name = SQLite3::escapeString($_POST["name"]); -$adresse = SQLite3::escapeString($_POST["adresse"]); -$telefonnummer = SQLite3::escapeString($_POST["telefonnummer"]); -$handynummer = SQLite3::escapeString($_POST["handynummer"]); -$email = SQLite3::escapeString($_POST["email"]); -$bday = SQLite3::escapeString($_POST["geburtstag"]); - -//echo "$name<br> $adresse<br>$telefonnummer<br>$handynummer<br>$email<br>$bday<br>$ip<br>$cryptedip"; - - - -$db = new SQLite3('../database/database.sqlite'); - -$db->exec("UPDATE member SET name='$name' where id=$id;"); -$db->exec("UPDATE member SET adresse='$adresse' where id=$id;"); -$db->exec("UPDATE member SET telefonnummer='$telefonnummer' where id=$id;"); -$db->exec("UPDATE member SET handynummer='$handynummer' where id=$id;"); -$db->exec("UPDATE member SET email='$email' where id=$id;"); -$db->exec("UPDATE member SET geburtstag='$bday' where id=$id;"); - -/*echo " -<!doctype html public '-//W3C//DTD XHTML 1.0 //EN'> - -<html> - <head> - <title>Junge Gemeinde Adlershof - Update erfolgreich!</title> - <meta http-equiv='Content-type' content='text/html; charset=utf-8' /> - <link rel='stylesheet' type='text/css' href='style.css' /> - <link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'> - </head> - - <body> -<center> -<p5>Update erfolgreich!</p5><br><br> -<a4>Weiterleitung in 3.. 2.. 1..</a4> -</center></body></html>";*/ - -header("Refresh: 0; liste.php"); - - - -?> |
