Thanks to visit codestin.com
Credit goes to github.com

Skip to content

generalis/flatphp

Repository files navigation

Created influence:

Flat PHP or Symfony

Database default settings

Database: blog_db
User: myuser
Pass: mypassword

Ensuring is encription is correct

In CLI put php encode.php password

Authenticate from:

Secure Login System with PHP and MySQL

File name
login.php not secure, controller
model.php function authenticate()
logout.php logout controller
home.php controller with secure content
profile.php controller and view secure
login_form.php template of login form
login_success.php template after success loged in
login_failure.php template after failed loged in

Main usefull files

Public part of files are index.php - frontend controller coresponding with post table and with templates/list.php as view

Private part of files are home.php - backend controller coresponding with post table and with templates/home.php as view

PHP basic pagination:

index.php and home.php include it

PHP: Cache SQL results on file system.:

config.php and model.php include it

sudo chown -R www-data cache for develop sudo chmod 777 cache

About

CMS inspired by Flat php versus Symfony

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published