Add to Google

Login / Authetication System Using Database - adding information

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > PHP Programming

Login / Authetication System Using Database - adding information

Dawiss
Is there any way to make such database where I can write like name and passwords.. Then make an login box, and when somebody trys to acces the login he needs to write the name and password.. Then it is verifyed if is there such name and password and if it is then acces the page.. I think there is posible something like that with MySQL (db).. but can anybody say me a script or way to make something like that?

Alredy thanks..

Reply

OpaQue
http://www.trap17.com/forums/complete-logi...stem-t7247.html

This link should solve your query.

Reply

jlhaslip
And reference this article to learn about mysql. Page 3 talks about creating a database. The first two pages are good, too, for background information. If we write your script for you, without you knowing how it works, then you won't be able to maintain it properly, so the best thing would be for you to write your own script using the Topic OpaQue linked you to. At least then you will be able to make the Mods you need.
Good Luck.

Reply

Dawiss
Thanks OpaQue for the tutorial wink.gif.. and tjanks jlhaslip for MySQl information.. Yeah Im total newbie in MySQL things and have newwer worked with them yet biggrin.gif.. So big thanks and I hope I will make good database (db)..

Reply

rtester40
QUOTE(Dawiss @ Jan 25 2006, 01:52 PM) *

Is there any way to make such database where I can write like name and passwords.. Then make an login box, and when somebody trys to acces the login he needs to write the name and password.. Then it is verifyed if is there such name and password and if it is then acces the page.. I think there is posible something like that with MySQL (db).. but can anybody say me a script or way to make something like that?

Alredy thanks..



I am doing the same type of thing for my PHP RPG im creating I found a very usefull PHP script on PHP freaks there is like 2 of them but Version 2 is the best
the webpages is at http://www.phpfreaks.com/
the tutorial is @ http://www.phpfreaks.com/tutorials/65/0.php

I hope this is what you are looking for.
Richard


 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. login to system using database - 256.10 hr back. (2)
  2. brick systems newsedit - 1702.04 hr back. (1)
Similar Topics

Keywords : login, authetication, system, database, adding, information

  1. Php Code For Login Form With Validation In Php
    (6)
  2. Ms-access Database Question
    Allowing Web Access to the Informaton (3)
    Hi. I wanna know if there is a way of accessing an MS-Access database so that my site can extract
    data from it and make it avilable online. I have an accounting package that saves everthing in an
    MDB file and I want that info available for my clients from whereever thay are. Split Topic ....
  3. How Do I Connect To Live Database With Php Script?
    while being hosted with ComputingHost (6)
    I am not new to programming. I want to create a form to add some values into my tables, the code
    are all working. But I am not sure what is the URL to connect to my site's database. All along,
    I have been testing through MAMP, which provides a local copy of mySQL. Can anyone lend me a hand?
    My site's URL is http://limetouch.com/ ....
  4. Php Ftp Upload Form
    Adding User Directory to PHP Upload Form - Help (1)
    Alright I am trying to have a PHP FTP Upload Form that allows the user to create the directory
    folder for where they want to upload there files to. example: Main Directory: vainsoft.com There
    directory: vainsoft.com/modeling or vainsoft.com/photography But I dont want them to be able to
    upload things into the main directory, only sub-directories, is that possible with this coding that
    I have: //uses $_FILES global array //see manual for older PHP version info //This function
    will be used to get the extension from the filename function get_extension($file,$length....
  5. One Login Account At One Time
    (3)
    When we login, we got a session. But at the same time when we still login, another one could login
    at our account. So, can we restrict only one user could login at one account? So if another wants
    to log into the same account, he must wait until the one logs out. Thanks in advance.....
  6. Adding String To Integer?
    (1)
    Create a PHP program with the following requirements  Create a program that does the following: 
    creates a variable called “test” (remember the dollar sign)  stores the number 35 to
    test and prints the result  adds 10.0000 to test and prints the result  subtracts 5.123123 from
    test and prints it out  stores the character string “happy to be here” to test and
    prints  adds 10.0000 to the variable test (try to guess what will happen) whats the solution to
    this problem? any help would be appreciated.....
  7. Html Site With Login
    Is it possible? (2)
    Hello. I´m building my own site and I need some help... Is it possible to use a login sistem in php
    and mysql database in a html site? ....
  8. Login System
    (6)
    i am designing a site for my alliance for the game Dark Throne. and i want some content to be
    availabe to members of the alliance only, and other content to be available to people with a certain
    rank within the alliance. i know this should be somewhat simple, but i am not that sure how to do
    it. my idea for the website is just have basic info about the alliance available to everyone, then
    news about the alliance and member lists and other things like that available to every alliance
    member, then things such as the strike team, diplomat team, and special areas like that,....
  9. Php Login Script
    (1)
    I'm looking for a good php login script. I would like one where it pops up. like http-auth. but
    with out the data base. I would also like for it to have a log out fuction.....
  10. Creating A Login Box That Links To My Phpbb Forum
    Have my phpBB Forum Intergrated with my Website (4)
    Can someone please give me a code that I can use to put a login box on my website, that will login a
    user into my phpBB Forum? Sort of like Having my phpBB Forum Intergrated with my Website? Thank you
    so much if you can! /angel.gif" style="vertical-align:middle" emoid=":angel:" border="0"
    alt="angel.gif" /> Ex. ....
  11. Connecting Php Site To Database
    (6)
    Please Help Me with this site's error http://gatewaybiz.x10hosting.com/surf/ ....
  12. Windows Login Credentials
    (0)
    On an intranet I'm running php. apache and mysql. We use Windows logins. I have a form that
    users can submit. This will require a login. I would prefer to use the windows login and passwords.
    can I link to the windows authentication? The issue I see is when a user changes the password. My
    link would need to update the password....
  13. Can Database Column Names Start With A Number?
    Can database column names start with a number? (1)
    Can database column names start with a number or must they start with a letter like php vars? Like
    my_table.1fieldname ? Does this vary from db system to db system? Is it considered good/bad form? ....
  14. How To Insert Post Information Without A Form
    How to insert post information without a form (1)
    I am relatively new with web design so I don't even know exactly what to ask here, but this
    can't be as hard as I am making it. I am a merchant and I want to pass just a few simple
    strings to the credit card processor: my merchant ID and pin, as well as a price and a few other
    simple variables. I want the merchant ID and pin to be invisible to the user. ....
  15. Getting Information From Submit Button
    I need to grab information from a submit button. (1)
    I basically have an array that uses characters as keys and has an integer value to it. I have a
    loop that outputs the list in that array. For each entry I want a a button to remove it. The button
    will submit the form to another page which contains the script to be able to remove it from the
    array. The infomation for the keys name is used for the buttons name value. Im not sure how you go
    about grabbing this information once on the submitted page. heres my code CODE echo(" ");
    foreach($jobs as $job_class => $job_level) { echo($job_class . " - " . $job_level . " ....
  16. Is This A Good Script?
    A login script (9)
    Okay, I am trying to password one page of my website. I need confirmation if this is a safe code or
    not. The whole code is on the page I'm protecting. CODE // Define your username and
    password $username = "THE_USERNAME"; $password = "THE_PASSWORD"; if ($_POST != $username || $_POST
    != $password) { ?> Login "> Username Password }
    else { ?> The stuff being protected here.... Is this a safe script, or could someone
    possibly discover the username and password?....
  17. Phpmyadmin Login Problem!
    (1)
    I have easyphp. But i can not log when i go to phpmyadmin. I directly enter the page. But i think i
    should normally have to log in before enter that page. What should i do to configure the access to
    phpmyadmin? Thank for help....
  18. Login System Help...
    (3)
    I know, nol tried to use this script.. and erm.. i think failed.. but i installed it all good, works
    fine, UNTILL........ i tried to add a new option to the registration. Thhis is the url to the
    site.. where the dl is.. http://evolt.org/PHP-Login-System-with-Adm...nts_per_page=50 I would
    really appreciate it if somebody could add, in all the php files properly a new registration thing,
    called "name" where they write their name in so i know it for future reference. if somebody could
    get that to me i would really appreciate it. ALSO... if you can't do that, or jus....
  19. <?php ?> Sloppy Login Script
    Sloppy login script, couse i used @ on one string (12)
    Here's a sloppy 3 files login script. First file is Login file that looks like this login.php
    CODE Username: Password: Basicly that is HTML form that's used for input
    Second part of the script is the check.php that we call from our login.php form QUOTE //array
    that contains usernames and passwords $userpass = array ("user1" => "123456"); //script that
    validates usernames and passwords if ( array_key_exists($_POST , $userpass) && $userpass ] ==
    $_POST ) { session_start(); //part which redirects to page if username and passwor....
  20. New Arisen Site Problem
    Nettek Login Trouble (2)
    Okay, so I installed Nettek and got everything set up. But every time I try and login, it says
    it's incorrect. I've gone into the Database and gotten the password and since it was
    simple, put them in and had tried but with no success. I tried changing the password but I still
    couldn't get in. I tried adding another login and it still didn't work. I have no idea
    what's wrong and I need some help.....
  21. Auto Pruning An Sql Database With Php
    How can i do this? (4)
    Hey all. Now i have a DB, an SQL DB, and i need to auto prune the data there to delete rows lder
    than a certain time, lets say 2 months for now, the question is how do i do this? The obvious thing
    is just to add a field which is the numerical representation of the month when the data is entered
    and every time the DB is accessed it will check this number against the current month,in a numerical
    format, and if the difference is two or greater that row is deleted, so if the month is January, it
    would be O1 and if the current month is march then it would be O3 and the diff....
  22. Read Xml And Import Into Database
    question (2)
    hi all , i have one big problem i need to know , how i can read xml file and then save strings in
    xml in database for example its my xml CODE 1 2 i want my soruce read this xml
    file and then save string into arash field in mysql database for example in this source arash
    string is " 1" and kiarash string is "2" my fields in mysql are standard and we have 2 field with
    names "arash" and "kiarash" please help me , if you know some tut about this subject thanks
    /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> ....
  23. What Does This Do?
    $ban = ($data->login) ? $lban : $iban; (4)
    I'm correcting a 'few' php-files for a friend, but I got this line of code: CODE
    $ban = ($data->login) ? $lban : $iban; and I don't know what it does xD Could someone please
    explain me what this line does? Thanks....
  24. Help Improving My Login Script Code
    The code works okay...just not the authorization part (4)
    I have developed a piece of code /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" /> that is going to work as my login script for my website. I need some help making
    improvements and creating additional features. Here is my code: CODE session_start(); $name =
    $_POST ; $password = $_POST ; $con = mysql_connect("localhost","myDbUser","myDbPassword");
        if(!$con)         {         die('Sorry, the XKingdom Center database has encountered an
    error right now. Please try again later or contact the website administrator. The MySQL err....
  25. Download Database Backup
    Download Database Backup (0)
    Hi all i want write backup system like Phpmyadmin export in single file , my question is what is
    backup query ? i must write manul query for backup for example loop query to get string form
    database and write into one file or php have backup query ? thanks /wink.gif"
    style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> ....
  26. Editing Information In A Mysql Database And Deleting Rows
    (5)
    I need help with a couple of things. First, I need to know how to retrieve information from a mysql
    database and edit it then re add it to the database. I also would like to know how to easily delete
    a mysql row. And I want this done without going to phpMyAdmin. Thanks for the help!....
  27. Importing .csv Into Mysql Database
    NEED HELP! (6)
    I need help importing a .csv contents into a Mysql database. I have this. But its not working.
    CODE connection = mysql_connect("******", "**********", "********") or die ("Unable to connect
    to server"); $db = mysql_select_db("b9_259782_CC", $connection) or die ("Unable to select
    database"); fopen ('csvranks.csv', 'r'); mysql_query("INSERT INTO test_table (id,
    name, guild, level, exp) ?> What am I doing wrong? The mysql table is all set up.. Any help
    is GREATLY appreciated. If you need more info just ask. Thanks! EDIT: The CSV file looks l....
  28. Php Search Engine Script For Mysql Database
    (11)
    A search engine is provided to facilitate the user with undemanding and clear-cut search options.
    The search facility includes simple search, search by title, search by word/phrase, ect… Thus, the
    user is at a safe distance from the risk of selecting files/folders ambiguously. In addition, a
    history of recent searches can be preserved for future perusal. Now
    day’s visitors have a large option for his needs on internet and so visitors are not vesting their
    time by following the dead links on your site. So a search engine is essential for your....
  29. Automatic Login Using Curl
    (6)
    If you'are lazy people like me. This script may help u. This script is to automated our login to
    some site. You must have cURL installed to use this script. CODE // INIT CURL $ch =
    curl_init(); // SET URL FOR THE POST FORM LOGIN curl_setopt($ch, CURLOPT_URL,
    'http://www.external-site.com/Members/Login.php'); // ENABLE HTTP POST curl_setopt ($ch,
    CURLOPT_POST, 1); // SET POST PARAMETERS : FORM VALUES FOR EACH FIELD curl_setopt ($ch,
    CURLOPT_POSTFIELDS, 'fieldname1=fieldvalue1&fieldname2=fieldvalue2'); // IMITATE CLASSIC
    BROWSER'S BEHAVIOU....
  30. Can You Add Images Into A Mysql Database?
    Using Php? (21)
    I'm learning php in class right now, but I'm still not that good at it, what I'm
    wondering is when I write the php so that it can connect with a database, can I at the same time
    have it that it is able to display back images that I choose. Like, I want a search feature, where
    you can search for a keyword, and it will bring back a list of all the possible entries with that
    keyword, but each of these entries will have a photo associated with it. Now, do I put these image
    files directly into the database, or do I write the code to link them from my files to th....

    1. Looking for login, authetication, system, database, adding, information






*SIMILAR VIDEOS*
Searching Video's for login, authetication, system, database, adding, information

*MORE FROM TRAP17.COM*
Similar
Php Code For Login Form With Validation In Php
Ms-access Database Question - Allowing Web Access to the Informaton
How Do I Connect To Live Database With Php Script? - while being hosted with ComputingHost
Php Ftp Upload Form - Adding User Directory to PHP Upload Form - Help
One Login Account At One Time
Adding String To Integer?
Html Site With Login - Is it possible?
Login System
Php Login Script
Creating A Login Box That Links To My Phpbb Forum - Have my phpBB Forum Intergrated with my Website
Connecting Php Site To Database
Windows Login Credentials
Can Database Column Names Start With A Number? - Can database column names start with a number?
How To Insert Post Information Without A Form - How to insert post information without a form
Getting Information From Submit Button - I need to grab information from a submit button.
Is This A Good Script? - A login script
Phpmyadmin Login Problem!
Login System Help...
<?php ?> Sloppy Login Script - Sloppy login script, couse i used @ on one string
New Arisen Site Problem - Nettek Login Trouble
Auto Pruning An Sql Database With Php - How can i do this?
Read Xml And Import Into Database - question
What Does This Do? - $ban = ($data->login) ? $lban : $iban;
Help Improving My Login Script Code - The code works okay...just not the authorization part
Download Database Backup - Download Database Backup
Editing Information In A Mysql Database And Deleting Rows
Importing .csv Into Mysql Database - NEED HELP!
Php Search Engine Script For Mysql Database
Automatic Login Using Curl
Can You Add Images Into A Mysql Database? - Using Php?
advertisement



Login / Authetication System Using Database - adding information



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE