Jump to content

kurd

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kurd's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I built a admin control panel that shows tables from mysql and lets you add rows and delete rows. I'm asking how should i build the log in to this control panel? Thing is it's supposed to be for people i build websites for and they don't always know how to edit php files.. Thank you for your help.
  2. Does that mean that i need to set privileges with php scripting? I still don't know how to do this..
  3. Oh.. i see, what is the recommended way to do it then? EDIT: How am i giving out my connection data? the user needs to input it
  4. Sorry, I need to bump this because i'm stuck
  5. You need to use a form and put that input inside it. Then you need to choose the form destination php file that uses $_POST['inputname'] to receive the value.
  6. Hello I really need advice on how to implement a login system for a admin and sub-admin (& not registered users). I obviously already have the admin (created during mysql installation) and i created a sub-admin using phpmyadmin (without grant privileges etc.). Is it a good method to have them enter the user and pass and have php use these to connect to the database like $db_user=$_POST['myusername']; $db_pass=$_POST['mypassword']; mysql_connect($db_host,$db_user,$db_pass) or die('Could not connect: ' . mysql_error()); Sorry if this has an obvious answer.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.