Forgot your password?



 

Why sign up?
- One account for five websites!
- Free access to Premium Codes
- Acess to cool web tools
- Ask and answer questions
- Stay ahead of other web developers
- and MUCH MORE!

 





Feel The Power

webPhp Code: Login system


This is a login System, it has 3 files
login.php
register.php
lastmember.php

once a user has been logged in it will return him/her to the home page. to see if they are logged in use the code at the bottom of my script

When a user registers, it will update the lastmember.php page, so you can include it in your home page by using and it shows the last member that signed up. you can add/change the stuff in the last member.php page but i suggest not changing anything, because i hate people saying they changed so and so and it doesn't work. so just leave it alone :P

Enjoy ;)

If you don't know how to use this code or need more information Click here!

Go to Homepage


counter

prince Posted on 24 January, 2011 - 09:09 AM 1
prince

counter

prince Posted on 24 January, 2011 - 09:09 AM 2
sir where i can find the register.php? and we're will i put it? in the notepad or what?.. im kinda confuse

counter

abros2k11 Posted on 24 January, 2011 - 09:09 AM 3
sir, I have 3 seperate webpages with logins. I have created a 4th login page. When I login using my login credentials in the 4th login page I should get Links to the other 3 pages. When i cick on any link it should use the same credentials which I used for the 4th page. i dont have to enter it again, How to do it??

counter

Salamander Posted on 24 January, 2011 - 09:09 AM 4
how do i use it ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

counter

joooby Posted on 24 January, 2011 - 09:09 AM 5
It did not work. I can login without password or username!

counter

joooby Posted on 24 January, 2011 - 09:09 AM 6
It did not work. I can login without password or username!

counter

rakelechi Posted on 24 January, 2011 - 09:09 AM 7
trying to retrieve data from web_form fields; user input from web form fields into PHP variable value. i need to access values from a data field in the form via PHP script. pls convert this HTML line ...i not able to replace the punctuation marks apprioprately and also, more adition i need... so i can access it right here

counter

rakelechi Posted on 24 January, 2011 - 09:09 AM 8
trying to retrieve data from web_form fields; user input from web form fields into PHP variable value. i need to access values from a data field in the form via PHP script. pls convert this HTML line ...i not able to replace the punctuation marks apprioprately and also, more adition i need... so i can access it right here

counter

rakelechi Posted on 24 January, 2011 - 09:09 AM 9
trying to retrieve data from web_form fields; user input from web form fields into PHP variable value. i need to access values from a data field in the form via PHP script. pls convert this HTML line ...i not able to replace the punctuation marks apprioprately and also, more adition i need... so i can access it right here

counter

braydenyat Posted on 24 January, 2011 - 09:09 AM 10
1. PUT THE PAGES ON YOUR WEBHOST.
2. MAKE A DATABASE
3. EDIT LASTMEMBER.PHP TO THE DATABASES INFORMATION. For example:
// set your infomation.
$dbhost='localhost';
$dbusername='username';
$dbuserpass='password';
$dbname='databasename';

//connect to the mysql database server.
mysql_connect ($dbhost, $dbusername, $dbuserpass);
mysql_select_db($dbname) or die('Cannot select database');

$row1 = mysql_query("SELECT * FROM users ORDER BY uid DESC LIMIT 1") or die(mysql_error());
echo "$row1";
while($row=mysql_fetch_array($row1))
{
echo "

$row[username]

";
}
?>
Any more questions? email me! braydengyates@aol.com

counter

teddy Posted on 24 January, 2011 - 09:09 AM 11
hello sir this part make un error""if ($email_existɬ|$username_existɬ) {
echo "The username or email is already in use";
""

counter

mhervi Posted on 24 January, 2011 - 09:09 AM 12
hello.please help me on doing how to make a simple log in system that when you click the log in it will appear the last output..where you can only use two(2)notepad.

counter

kahtan Posted on 24 January, 2011 - 09:09 AM 13
hi

how can i make the mysql

so how many tables and users and names and those things

thx for the codes i hope they work for me :)
 

You can leave comments once you sign in/up.


Review

Please Rate this!

Visitor

Onlines:
Total Online:
Recent Members: scienceguyz, mihir5555, sibekatea, evildead, OLFU_Cate_Imba