Just add the link in a new field in the user table in the database and move on to that location after login.No that has to be organized 1 user to one specifik page, and please how can i turn this to secure login form , what should i change or add
Thnx
Register and join over 40,000 other developers!
Recent Topics
-
The Game You Are Waiting For?
WendellHarper - Dec 06 2020 01:21 PM
-
Quora and Reddit Backlinks
WendellHarper - Dec 06 2020 01:14 PM
-
Delete account
pindo - Jul 23 2020 01:33 AM
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

Creating login/registration forms with PHP
Started by amrosama, Dec 31 2008 07:39 AM
registration form registration login
106 replies to this topic
#97
Posted 29 December 2012 - 05:26 AM
I'm a System developer at XLENT Consultant Group mainly working with SugarCRM.
Please DO NOT send mail or PM to me with programming questions, post them in the appropriate forum instead, where I and others can answer you.
#98
Posted 31 December 2012 - 01:49 AM
Notice: Undefined index: logged in C:\wamp\www\logink.php on line 10 Call Stack # Time Memory Function Location 1 0.0007 695656 {main}( ) ..\logink.php:0
( ! ) Notice: Undefined index: userlogin in C:\wamp\www\logink.php on line 51 Call Stack # Time Memory Function Location 1 0.0007 695656 {main}( ) ..\logink.php:0 2 0.0013 696864 checkpass( ) ..\logink.php:22
( ! ) Notice: Undefined index: password in C:\wamp\www\logink.php on line 51 Call Stack # Time Memory Function Location 1 0.0007 695656 {main}( ) ..\logink.php:0 2 0.0013 696864 checkpass( ) ..\logink.php:22
sorry for assking so many questions but i havee errors :SSS
pls help
( ! ) Notice: Undefined index: userlogin in C:\wamp\www\logink.php on line 51 Call Stack # Time Memory Function Location 1 0.0007 695656 {main}( ) ..\logink.php:0 2 0.0013 696864 checkpass( ) ..\logink.php:22
( ! ) Notice: Undefined index: password in C:\wamp\www\logink.php on line 51 Call Stack # Time Memory Function Location 1 0.0007 695656 {main}( ) ..\logink.php:0 2 0.0013 696864 checkpass( ) ..\logink.php:22
sorry for assking so many questions but i havee errors :SSS
pls help
#99
Posted 31 December 2012 - 09:22 PM
nice
#100
Posted 27 March 2013 - 05:37 AM
When I run all the attached files it says "Table 'test.users' doesn't exist".. how do I fix it? I need this exact code for a test
#101
Posted 11 May 2013 - 03:41 AM
pls add update and insert thank you
#102
Posted 13 July 2013 - 05:27 PM
I know this probly a stupid question but how would I use this login/reg script to lock a website I have so only ppl that are members can view the site
#103
Posted 15 October 2013 - 10:02 AM
plz tell me i have made a custom profile page of user i want to open it when user log in every time
so tell me the syntax of loading that php file and wheree i have to put it plz tell
#104
Posted 30 December 2013 - 09:54 PM
Your tutorial is easy to follow, however... there are a few errors in the code visible upon execution.
EG: index.php on Line10 & Line26.
(I won't provide the solution as I believe others are learning, and this is a simple fix and good opportunity to learn).
Basically, when putting PHP and HTML in one document it`s very important to keep PHP out of your HTML as much as possible, and visa versa. A recommended structure for each HTML/PHP page is this:
<?php
/* PHP functions and variables declarations go here */
?>
<!DOCTYPE html>
<html lang="en-us">
<head>
</head>
<body>
<!-- References to those variables go here as needed -->
</body>
</html>
Another thing to mention is that your forgetting the fact most users have set a password for their localhost, so they need to add extra lines to cater for it.
EG: Register.php
$servername="localhost";
$username="root";
$password="passwordgoeshere"; (this line is missing)
You also need to change this line to:
$conn= MySQL_connect($servername,$username,$password) or die(MySQL_error());
Or you instantly have access denied.
Happy Coding!
Edited by DanielBunt, 30 December 2013 - 10:05 PM.
#105
Posted 31 December 2013 - 01:47 AM
hey i want to secure login details of user by using md5 function please where to put it so that whenever any one login , URL is modified by md5 please help me with this issue....
#106
Posted 18 April 2017 - 08:43 PM
Thank you, Bookmarked for learning it once I will complete my current tutorial.
#107
Posted 10 December 2017 - 06:36 PM
Sorry asking & "bumping" this thread on this question:
What if, I wanna asked each user to change the password from the very 1st time they logged in? How can this be done.?...and the password that they changed cannot be the same for the past 3 passwords that they have used/changed before.
Also tagged with one or more of these keywords: registration form, registration, login
Language Forums →
PHP →
need some help in converting this code from mysl to pdoStarted by NanaKwekuDenise, 14 Mar 2014 ![]() |
|
![]() |
||
General Forums →
General Programming →
Providing web resources only to authenticated usersStarted by Kaishain, 01 Feb 2014 ![]() |
|
![]() |
||
Language Forums →
Java →
check if user is login or notStarted by game2d, 16 Dec 2013 ![]() |
|
![]() |
||
![]() |
General Forums →
Codecall Community →
Forum Support →
Trying to register without FacebookStarted by Patton, 14 Nov 2013 ![]() |
|
![]() |
|
Language Forums →
PHP →
Help with simple sign-up codeStarted by zak, 02 Nov 2013 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download