Added the swap file of my brainzz.

master
BodgeMaster 2020-02-24 08:06:19 +01:00
parent cd9ec02be0
commit 94ed3a4284
1 changed files with 34 additions and 0 deletions

34
my_brain_clipboard Normal file
View File

@ -0,0 +1,34 @@
username
email
password
password_confirm
TABLE `web`.`profiles`
( `id` SMALLINT NOT NULL ,
`email` VARCHAR(100) NOT NULL ,
`real_name` VARCHAR(40) NULL ,
`status` VARCHAR(200) NULL ,
`about` VARCHAR(2000) NULL
) ENGINE = InnoDB;
Todo:
if logged in
home is userhome
else
home is home
if logged in
login is logout
else
login is login
navbar = %NAVBAR% and highlighted field gets selected by a variable
save everything in a db instead of a session cookie - or encrypt session cookie data
logout user after signing up a new one