Aug 8, 2008

Login / Authetication System Using Database - adding information

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

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.
Confirm Code:

Similar Topics

Keywords : login authetication database adding information

  1. Can You Add Images Into A Mysql Database? - Using Php? (20)
    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...
  2. Ms-access Database Question - Allowing Web Access to the Informaton (3)
  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 (0)
    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($fi...
  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. 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 <?php
    include('header.php') ?> <?php // Define your username and password
    $username = "THE_USERNAME"; $password = "THE_PASSWORD"; if
    ($_POST['txtUsername'] != $username ||
    $_POST['txtPassword'] != $password) { ?>
    <h1>Login</h1> <form name="form" method=&...
  7. 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...
  8. Automatic Login Using Curl - (1)
    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 <?php // 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&fieldna...
  9. 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....
  10. 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? ...
  11. 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,...
  12. 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....
  13. 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("<form name='jobs' action='remove_job.php'>"); foreach...
  14. 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. ...
  15. Connecting Php Site To Database - (6)
    Please Help Me with this site's error http://gatewaybiz.x10hosting.com/surf/ ...
  16. 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...
  17. 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? ...
  18. 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. ...
  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 <form action="check.php" method="post"> Username: <input
    type="text" name="username1"><br /> Password: <input
    type="password" name="password1"><br /> <input type="submit"
    value="Login"> </form> 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 ...
  20. 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...
  21. 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...
  22. 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....
  23. 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...
  24. 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...
  25. 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 <?xml version="1.0"?>
    <numbers> <arash>1</arash> <kiarash>2</kiarash>
    </numbers> 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 yo...
  26. 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 <?php
    session_start(); $name = $_POST['username']; $password =
    $_POST['password']; $con =
    mysql_connect("localhost","myDbUser","myDbPassword");
        if(!$con)         {         die(&#...
  27. 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" /> ...
  28. 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!...
  29. 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 <?php 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 mys...
  30. .htaccess-style Login System And Php - (13)
    I am trying to make a login system that looks and works like .htaccess using sessions, with a PHP
    script that detects the username used. Let's say I log on with the username "Amezis" and
    correct password. Then I want a PHP (or any other kind of script) to create a cookie or session
    which stores the user name, so it could be possible to store it in a variable as long as the user is
    logged in, and so it can be printed when needed. Basically, this is what I want the script to do:
    CODE /* This file can only be executed after logging in with the htaccess-style login...



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

Searching Video's for login, authetication, system, database, adding, information
Can You Add
Images Into
A Mysql
Database?
Using 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
ComputingHos
t
Php Ftp
Upload Form
Adding User
Directory to
PHP Upload
Form - Help
One Login
Account At
One Time
Is This A
Good Script?
A login
script
Php Search
Engine
Script For
Mysql
Database
Automatic
Login Using
Curl
Adding
String To
Integer?
Html Site
With Login
Is it
possible?
Login System
Php Login
Script
Getting
Information
From Submit
Button I
need to grab
information
from a
submit
button.
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
<?php
?> Sloppy
Login Script
Sloppy login
script,
couse i used
@ on one
string
Phpmyadmin
Login
Problem!
Login System
Help...
New Arisen
Site Problem
Nettek Login
Trouble
Auto Pruning
An Sql
Database
With Php How
can i do
this?
What Does
This Do?
$ban =
($data-
>login) ?
$lban :
$iban;
Read Xml And
Import Into
Database
question
Help
Improving My
Login Script
Code The
code works
okay...just
not the
authorizatio
n part
Download
Database
Backup
Download
Database
Backup
Editing
Information
In A Mysql
Database And
Deleting
Rows
Importing
.csv Into
Mysql
Database
NEED
HELP!
.htaccess-st
yle Login
System And
Php
advertisement



Login / Authetication System Using Database - adding information



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
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