php - Create Admin Page for a Website? -


i've been working on website lately. it's pretty small 1 , of content entered in html. however, need 1 section owner can post things. know how accomplish in php, i'm not sure how owner have access on "administrator" mode.

should build administrator page there options like, "post new article" or "upload file"? if so, must give him specific link , username , passwords, because won't able navigate admin page official one. how done?

you need provide login form access admin page. once have crated login form have submit php script verify details submitted 1 held in database.

if details match set session variable, $_session[ 'admin' ] , when access page check logged in, if not have session variable set redirect user home page.

you need o have around net simple login forms going, once have form built able return here if further questions people able with.

to complete need knowledge of either mysqli or pdo, second being preferred option. understanding of use of password_hash() , password_verify() database store information.

good luck


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -