Warning: Undefined variable $ub in /mnt/web623/b2/50/5943050/htdocs/admin/conf_ing.php on line 69 Warning: Undefined variable $ub in /mnt/web623/b2/50/5943050/htdocs/admin/conf_ing.php on line 76 Deprecated: strripos(): Passing null to parameter #2 ($needle) of type string is deprecated in /mnt/web623/b2/50/5943050/htdocs/admin/conf_ing.php on line 76 Alles über index.php

pdo statement

Nur mit index php

Seite:123
16
Hinweis
tabelle sollte immer mit eigenem tabellennamen ersetzt werden!
Tabelle Registrieren / Login
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (10) NOT NULL AUTO_INCREMENT,
username varchar (40) NOT NULL,
usermail varchar (80) NOT NULL,
userpass varchar (255) NOT NULL,
datum datetime NOT NULL,
code bigint (13) NOT NULL,
active int (2) NOT NULL default '0',
PRIMARY KEY (id)
);

Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES (1,'Admin','admin@domain.de','$2y$10$KzdFjcfRd8VQSfh6BpBvK.BD6Wjk2UbYbR/vZBjkVoAw2IdyXokFW', '2025-06-11 12:21:33','17639739612',1);

Username = Admin
Passwort = Administrator_2024
Tabelle Navigation
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (10) NOT NULL AUTO_INCREMENT,
label varchar (40) NOT NULL,
title varchar (40) NOT NULL,
ziel varchar (30) NOT NULL,
url varchar (60) NOT NULL,
PRIMARY KEY (id)
);

Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1,'Home','Startseite','home','home.php');

Tabelle nicht eingeloggt
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (10) NOT NULL AUTO_INCREMENT,
lolabel varchar (40) NOT NULL,
lotitle varchar (40) NOT NULL,
loziel varchar (30) NOT NULL,
lourl varchar (60) NOT NULL,
PRIMARY KEY (id)
);

Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1,'Login','Sitzung starten','logrein','login.php'),
(2,'Anmelden','Registrieren','regist','registrieren.php'),
(3,'Aktivieren','Acount freischalten','aktive','freischalten.php'),
(4,'Passwort?','Passwort holen','pwforg','passwort-vergessen.php');

Tabelle eingeloggt
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (10) NOT NULL AUTO_INCREMENT,
dlabel varchar (40) NOT NULL,
dtitle varchar (40) NOT NULL,
dziel varchar (30) NOT NULL,
durl varchar (60) NOT NULL,
PRIMARY KEY (id)
);

Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1,'Administration','Adminseite','admin','admin.php'),
(2,'User','Userseite','user','user.php'),
(3,'Profil','Passwort ändern','profil','passwort_refresh.php'),
(4,'Logout','Sitzungsende','lograus','logout.php');

Eine Blind Tabelle
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (10) NOT NULL AUTO_INCREMENT,
blabel varchar (40) NOT NULL,
btitle varchar (40) NOT NULL,
bziel varchar (30) NOT NULL,
burl varchar (60) NOT NULL,
PRIMARY KEY (id)
);

Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1,'Error','Fehlerseite','error','error.php');

Eine Basis Tabelle
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (2) NOT NULL,
header varchar (60) NOT NULL,
footer varchar (60) NOT NULL,
email varchar (80) NOT NULL,
description varchar (220) NOT NULL,
keywords varchar (220) NOT NULL,
PRIMARY KEY (id)
);

Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1,'Meine Webseite','locomputing.de','info@domain.de','Beschreibung der Webseite','Meine Schlüsselwörter');

Seite:123
16