sreg
A simple Php class for registering users
A simple class for registering users.
Change the database connection settings directly to "sreg.php" and take a look at "example.php"
Table schema:
CREATE TABLE "users" (
"id" INTEGER NOT NULL ,
"user" varchar(1) ,
"pass" varchar(256) ,
"regcode" varchar(256),
"enable" INTEGER,
"cookie" varchar(256) ,
"name" TEXT,
PRIMARY KEY ("id")
);
Example of use:
<?php
$myreg = new reg();
$myreg->do($header,$body,$footer);
?>
Where header, body and footer are the variables that contain the html. See "example.php" to get an idea.
.pobsrc
captcha
README.md(27/04/2022 )
conf.php(04/07/2023 )
dbstruct.sqlite(04/07/2023 )
example.php(19/06/2023 )
exclusions.txt(19/06/2023 )
sreg.php(04/07/2023 )
users.sqlite(19/06/2023 )