Skip to content

restujulian/Config-database-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config-database-CRUD

CREATE BY : Restu Julian

config_db.php / class database{}

function()

  • function __construct() <--- to set up database connections --->
  • function login() <--- to set up login user --->
  • function showAdmin() <--- to display admin data --->
  • function showPaket() <--- to display paket data --->
  • function updatePass() <--- to update passwords --->
  • function plusPaket() <--- add packages --->
  • function upPaket() <--- update packages --->
  • function delPaket() <--- delete packages --->
  • function newPost() <--- add content --->
  • function updatePost() <--- update content --->
  • function delPost() <--- delete content --->
  • function showPost() <--- display content --->
  • function upload_image() <--- upload image --->
  • function showGaleri() <--- display image in galery --->
  • function delimage() <--- delete image --->

logout.php

  • Start session()
  • Destroy session()
  • Direct to index

proses.php

  • Selecting the get method that is sent

proses_login.php

  • Process input in the form of username and password from the form and match with the database

upload.php

  • Upload images with conditions

About

Config Database CRUD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages