Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-05-2007, 01:47 PM   #1 (permalink)
Salchester
Salchester
 
Salchester's Avatar
 
Join Date: Jul 2005
Location: In a house
Posts: 230
Salchester is an unknown quantity at this point
PHP Login Screen

Howdy Partners,

How do you create a PHP login screen, that requires a user to enter a valid User name and Password, in order to locate to a page that enables access a database....?

....Also, how do you add functionality for the the to change the current User name and Password?

Many Thanks,
__________________
Many Thanks, in advance!

Salchester.
The Future Is Here - Are You Ready?
Salchester is offline   Reply With Quote
Old 02-05-2007, 01:57 PM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 677
DJMaze is on a distinguished road
what do you have sofar?
__________________

UT: Ultra-kill... God like!
DJMaze is offline   Reply With Quote
Old 02-05-2007, 02:00 PM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,711
redhead is on a distinguished road
You need to search a bit, and you'd find exactly what you need...
But now I'll be the good samaritan and show you where to start Login with session and Connect to MySQL
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 02-05-2007, 05:49 PM   #4 (permalink)
Salchester
Salchester
 
Salchester's Avatar
 
Join Date: Jul 2005
Location: In a house
Posts: 230
Salchester is an unknown quantity at this point
Login Screen

OK,

I finally have the following code, now what?

Many Thanks,

Code:
<html>
<head>
<title></title>
</head>
<body>
<form name="form1" method="post" action="">
Username: <input type="text" name="textfield">
Password: <input type="text" name="textfield2">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
__________________
Many Thanks, in advance!

Salchester.
The Future Is Here - Are You Ready?
Salchester is offline   Reply With Quote
Old 02-05-2007, 11:36 PM   #5 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,711
redhead is on a distinguished road
Read the links I provided.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with php login script benzspida PHP 4 07-06-2006 12:02 PM
PHP 5.0.4 and 4.3.11 Released sde Code Newbie News 0 04-20-2005 10:56 AM
Trouble with PHP Login Script JimAdkins PHP 14 03-19-2005 02:40 PM
PHP vs .NET Redline Lounge 1 11-24-2004 06:10 AM
PHP code for Login Screen KEEBOD PHP 2 07-15-2004 05:18 PM


All times are GMT -8. The time now is 09:20 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting