Thanks Miles.
That works nicely.
Regards
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 10:29 PM
To: [email protected]
Subject: RE: [PHP-DB] Login script help
When user has authenticated successfully, start a session with an
M
To: Haig Dedeyan; [email protected]
Subject: RE: [PHP-DB] Login script help
why not just create a simple single logon page and not include
itthen on
sucessful login, redirect the user to the index page?
bastien
>From: "Haig Dedeyan" <[EMAIL PROTECTED]>
>To:
>Subjec
[PHP-DB] Login script help
why not just create a simple single logon page and not include
itthen on
sucessful login, redirect the user to the index page?
bastien
>From: "Haig Dedeyan" <[EMAIL PROTECTED]>
>To:
>Subject: [PHP-DB] Login script help
>Date: Thu,
why not just create a simple single logon page and not include itthen on
sucessful login, redirect the user to the index page?
bastien
From: "Haig Dedeyan" <[EMAIL PROTECTED]>
To:
Subject: [PHP-DB] Login script help
Date: Thu, 21 Dec 2006 16:36:11 -0500
Hi everyone,
M
Hi everyone,
My 1st attempt at creating a login script isn't going so good, so
hopefully someone can help me out.
The login script itself works fine but when I include it into a web
page, the login.php script shows up but the entire index.html page also
shows up.
I just want people to log in bef
Err...
As usual I forgot the most important part...
Add
session_start()
just above the
if($_POST['login']) {
row, or it won't work at all.. ;)
Or rather, it'll work, but no sessions will be saved.
Mike
On Apr 27, 2004, at 08:48, Mikael Grön wrote:
Here you go:
Table:
ID Login PW
Here you go:
Table:
ID Login PW Admin
1 admin abc123 1
2 normal bcd234 0
3 normal2 cde345 0
PHP:
[BOF]
if($_POST['login']) {
$result = mysql_query("select * from users where login = '" .
$_POST['login'] . "'") or die(mysql_error());
if (mysql_nu
This is kind of a big thing. Email me and I'll give you instructions/tips
on making it.
- Original message -
From: "andy amol" <[EMAIL PROTECTED]>
To: "php php" <[EMAIL PROTECTED]>
Date: Mon, 26 Apr 2004 17:15:27 -0700 (PDT)
Subject: [PHP-DB] login s
hi,
does anyone have a login script which will take data from the table and decide
whether the given user is a admin or a normal user.
thanks in advance.
Also if there is some help on session variable I would like to know.
-
Do you Yahoo!?
Win
PROTECTED]
-Original Message-
From: SELPH,JASON (HP-Richardson,ex1) [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 31 de Janeiro de 2003 17:52
To: Matt; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] login script
try:
http://www.hotscripts.com/PHP/Scripts_and_Programs/User_Authentication/
there ar
PROTECTED]
-Original Message-
From: SELPH,JASON (HP-Richardson,ex1) [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 31 de Janeiro de 2003 17:52
To: Matt; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] login script
try:
http://www.hotscripts.com/PHP/Scripts_and_Programs/User_Authentication/
there ar
try:
http://www.hotscripts.com/PHP/Scripts_and_Programs/User_Authentication/
there are loads of pre done scripts you can reference.
Cheers
Jason
-Original Message-
From: Matt [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 11:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] login
Anyone have any suggestions on how to go about creating a solid login
script? I have a MySQL database with a field called "LoggedIn" that is by
default "NO" but I want it to turn to "YES" when the user logs in, and I
want it to turn back to "NO" when the user either logs out, or a certain
amount o
ginal Message-
> From: W3bDevil [mailto:[EMAIL PROTECTED]]
> Sent: 11 November 2001 10:52
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Login Script please?
>
>
> I have a server that doesn't allow external connections. They say its to
> "protect the data for me and my cust
I have a server that doesn't allow external connections. They say its to
"protect the data for me and my customers" (even though I don't actually
have any). Anyway, I've tried everything, and I'm going to start learning
PHP later this year, but I'm in a hurry here:
I've configured my database wit
15 matches
Mail list logo