Dawiss
Jan 25 2006, 07: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.. |
Reply
OpaQue
Jan 25 2006, 08:07 PM
jlhaslip
Jan 25 2006, 08:19 PM
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
Jan 26 2006, 04:19 AM
Thanks OpaQue for the tutorial  .. and tjanks jlhaslip for MySQl information.. Yeah Im total newbie in MySQL things and have newwer worked with them yet  .. So big thanks and I hope I will make good database (db)..
Reply
rtester40
Apr 27 2006, 05:30 PM
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.phpI hope this is what you are looking for. Richard
Reply
Similar Topics
Keywords : login authetication database adding information- 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...
Ms-access Database Question
- Allowing Web Access to the Informaton (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/ ...
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...
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....
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=&...
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...
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...
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....
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? ...
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,...
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....
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...
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. ...
Connecting Php Site To Database
- (6)
Please Help Me with this site's error http://gatewaybiz.x10hosting.com/surf/ ...
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...
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? ...
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. ...
<?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 ...
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...
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...
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....
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...
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...
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...
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(...
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" /> ...
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!...
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...
.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
|
advertisement
|
|