Re: [PHP-DB] Login query

2010-02-18 Thread Chris
Bastien Koert wrote: On Thu, Feb 18, 2010 at 4:40 PM, Ron Piggott wrote: I am wondering what others do for a login query. I think there could be two results: correct e-mail & password; correct e-mail & wrong password So far my login query is: SELECT * FROM `member` WHERE `email` = '$my_email

Re: [PHP-DB] Login query

2010-02-18 Thread nagendra prasad
Buddy, you are talking about to check if the password is wrong or not. Usually in the login query you check both the user name or email in your case and the password. If you just check the password it will become very easy to hack any user account.

Re: [PHP-DB] Login query

2010-02-18 Thread Bastien Koert
On Thu, Feb 18, 2010 at 4:40 PM, Ron Piggott wrote: > I am wondering what others do for a login query.  I think there could be > two results: correct e-mail & password; correct e-mail & wrong password > > So far my login query is: > > SELECT * FROM `member` WHERE `email` = '$my_email' AND `pass` L

[PHP-DB] Login query

2010-02-18 Thread Ron Piggott
I am wondering what others do for a login query. I think there could be two results: correct e-mail & password; correct e-mail & wrong password So far my login query is: SELECT * FROM `member` WHERE `email` = '$my_email' AND `pass` LIKE BINARY '$my_password' LIMIT 1 This wouldn't tell me if the

RE: [PHP-DB] Login script help

2006-12-22 Thread Haig Dedeyan
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

RE: [PHP-DB] Login script help

2006-12-21 Thread Miles Thompson
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

RE: [PHP-DB] Login script help

2006-12-21 Thread Haig Dedeyan
[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,

RE: [PHP-DB] Login script help

2006-12-21 Thread Bastien Koert
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

[PHP-DB] Login script help

2006-12-21 Thread Haig Dedeyan
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

Re: [PHP-DB] Login Auth help? | Handling pages help? (2 questions)

2005-11-13 Thread Frank Flynn
On Nov 10, 2005, at 7:21 AM, [EMAIL PROTECTED] wrote: Need some ideas/opinions on a project I have. The project is for a Radio Station (online one) where DJ's can login to the site and do stuff and listeners can listen in live to the live feeds. Now I downloaded a password protected code

[PHP-DB] Login Auth help? | Handling pages help? (2 questions)

2005-11-09 Thread JeRRy
Hi, Need some ideas/opinions on a project I have. The project is for a Radio Station (online one) where DJ's can login to the site and do stuff and listeners can listen in live to the live feeds. Now I downloaded a password protected code that uses MySQL to store the info but it fails each

[PHP-DB] Login Auth help? | Handling pages help? (2 questions)

2005-11-09 Thread JeRRy
Hi, Need some ideas/opinions on a project I have. The project is for a Radio Station (online one) where DJ's can login to the site and do stuff and listeners can listen in live to the live feeds. Now I downloaded a password protected code that uses MySQL to store the info but it fails each

Re: [PHP-DB] login script

2004-04-27 Thread Mikael Grön
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

Re: [PHP-DB] login script

2004-04-27 Thread Mikael Grön
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

Re: [PHP-DB] login script

2004-04-26 Thread Marcjon Louwersheimer
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

[PHP-DB] login script

2004-04-26 Thread andy amol
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

Re: [PHP-DB] Login session - browser/computer? problem

2003-06-12 Thread Becoming Digital
IL PROTECTED]> Sent: Thursday, 12 June, 2003 03:20 Subject: [PHP-DB] Login session - browser/computer? problem My boss can't seem to login at all through his laptop to my website. The login process is as follows: from the index.php the person login goes to handler/login.php which checks with

[PHP-DB] Login session - browser/computer? problem

2003-06-12 Thread Dewi Wahyuni
My boss can't seem to login at all through his laptop to my website. The login process is as follows: from the index.php the person login goes to handler/login.php which checks with the databae, if the user is authorized then put a session variable called "loginid" and redirect the website to a

RE: [PHP-DB] ?? Login problems ??

2003-06-09 Thread JeRRy
Hi, This message is regarding my original post of the following subject/topic: [PHP-DB] ?? Login problems ?? I wish to say that the problem has been fixed. Thankyou to those people that helped me with the problem via this message board and direct email. I no longer require help on this topic

RE: [PHP-DB] ?? Login problems ??

2003-06-08 Thread JeRRy
Try again. Post the exact error you're getting (what you're getting is most likely just a Warning) and a _FEW_ lines around where the error is at. The exact error is: Notice: Undefined variable: Username on line 86 With the given error it mucks up my username/password form by putting incorrect

RE: [PHP-DB] ?? Login problems ??

2003-06-08 Thread John W. Holmes
> I have this script that logs people into a website > using cookies. On my linux web server it works fine > but when I downloaded the Windows version of mysql for > my personal PC to do offline work I get an error with > the identical file. > > The error is on line 86 undefined username > > But

[PHP-DB] ?? Login problems ??

2003-06-08 Thread JeRRy
Hi, I have this script that logs people into a website using cookies. On my linux web server it works fine but when I downloaded the Windows version of mysql for my personal PC to do offline work I get an error with the identical file. The error is on line 86 undefined username But on my linux

RE: [PHP-DB] Login and link back...

2003-03-19 Thread John W. Holmes
> I am curious about what you guys may have along the lines of best > practices for forwarding from a URL to a login, and then jumping back to > the > original URL automatically. I have several separate applications that all > need to utilize the same login mechanism. I want the user to be

RE: [PHP-DB] Login and link back...

2003-03-19 Thread Gary . Every
in_status($PHP_AUTH_USER,'Y'); } } liability_statement_check(); return(TRUE); } else { # USER NOT KNOWN auth_header($PHP_AUTH_REALM); } } Gary Every Sr. UNIX Administrator Ingram Entertainment (615) 287-48

[PHP-DB] Login and link back...

2003-03-19 Thread NIPP, SCOTT V (SBCSI)
I am curious about what you guys may have along the lines of best practices for forwarding from a URL to a login, and then jumping back to the original URL automatically. I have several separate applications that all need to utilize the same login mechanism. I want the user to be able to

[PHP-DB] login script

2003-02-03 Thread Bruno Pereira
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

RE: [PHP-DB] login script

2003-01-31 Thread Bruno Pereira
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

RE: [PHP-DB] login script

2003-01-31 Thread SELPH,JASON (HP-Richardson,ex1)
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

[PHP-DB] login script

2003-01-31 Thread Matt
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

RE: [PHP-DB] login won't log in, HELP

2002-12-17 Thread Ryan Marrs
___ Ryan Marrs Web Developer Sandler & Travis Trade Advisory Services, Inc. 248.474.7200 x 183 248.474.8500 (fax) www.strtrade.com -Original Message----- From: David [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:51 AM To: [EMAIL PROTECTED

Re: [PHP-DB] login won't log in, HELP

2002-12-17 Thread David
Thank You Jason for replying back. I am still new to this and sometimes it is hard to ask question because I don't know all the terms or how to word my problem. Ok I switch my php.ini to error reporting to maximum (error_reporting = E_ALL) and write off the bat I got this error message. Notice

Re: [PHP-DB] login won't log in, HELP

2002-12-17 Thread Jason Wong
On Tuesday 17 December 2002 14:42, David wrote: > Hello, > > I am pretty new to PHP and I am trying to create a admin login page so my > client can view thier product line and orders. I have MySQL set-up > properly and have data in it and I am able to view information from the db > with no problem

[PHP-DB] login won't log in, HELP

2002-12-16 Thread David
Hello, I am pretty new to PHP and I am trying to create a admin login page so my client can view thier product line and orders. I have MySQL set-up properly and have data in it and I am able to view information from the db with no problem. I do all my testing on my local machine before I blast it

Re: [PHP-DB] login won't work for Internet Explorer

2002-08-27 Thread Adam Williams
View the source in mozilla, it might just be suppressing the output for whatever reason. Adam On Wed, 28 Aug 2002 [EMAIL PROTECTED] wrote: > > > Hi there, > > I am experiencing a peculiar problem. I have recently moved a PHP / MySQL driven > website I have been developin

[PHP-DB] login won't work for Internet Explorer

2002-08-27 Thread Ben . Westgarth
Hi there, I am experiencing a peculiar problem. I have recently moved a PHP / MySQL driven website I have been developing from my linux box on to a live host. Everything seemed to go smoothly apart from one peculiar problem. When I access the site using Internet Explorer (so far I have tried 5.

[PHP-DB] login problem wasn't solved

2002-03-18 Thread its me
i have sell.php page which requires loggin so i put in it: http://$HTTP_HOST/auction/login.php";); exit(); } ?> then in login.php i have; $sql = "SELECT * FROM registration WHERE username = '$username' and password='$password'"; $result = mysql_query($sql,$conn); if(@mysql_num_rows(

Re: [PHP-DB] login

2002-03-10 Thread Marius Ursache
try header("Location : http://the.page.where.you.want.to.return "); (search in phpmanual) its me a écrit : > there is a page that when user go to need to be looged in,so it automaticaly go back >with him to loggin page but after login i want him to go back to the page he was >in.how? > u

[PHP-DB] login

2002-03-10 Thread its me
there is a page that when user go to need to be looged in,so it automaticaly go back with him to loggin page but after login i want him to go back to the page he was in.how? using history()? and how. thanks guys Rehab M.Shouman

RE: [PHP-DB] Login Script please?

2001-11-11 Thread Peter Lovatt
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

[PHP-DB] Login Script please?

2001-11-11 Thread W3bDevil
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

[PHP-DB] Login Help

2001-07-08 Thread Kevin
Hello all, I seem to be missing something with my login script, I have a couple of issues: 1) When you do not enter any informaton, it will say: "Please fill out all fields to proceed. There seems to be a problem with the database." Now, if i hit enter again it will say: "Please fill out all fie

RE: [PHP-DB] login twice

2001-07-05 Thread olinux
simple. -Original Message- From: andRie Is [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 9:13 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] login twice Hello php-db, anyone knows how to avoid user to login twice in different computer ? for exam : User A login using compute

[PHP-DB] login twice

2001-07-05 Thread andRie Is
Hello php-db, anyone knows how to avoid user to login twice in different computer ? for exam : User A login using computer D, and then A go to computer E and A login again. how to restrict A to login using computer E when he have another session in computer D ? ,,,

RE: [PHP-DB] Login System with access levels

2001-03-19 Thread Steve Brett
ave a table storing userrnames and passwords and a seperate table storing access levels. -Original Message- From: Ron Brogden [mailto:[EMAIL PROTECTED]] Sent: 16 March 2001 20:18 To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] Login System with access levels At 02:00 PM 3/16/2001 -0600, you

[PHP-DB] Re: [PHP] RE: [PHP-DB] Login System with access levels

2001-03-16 Thread Jack Sasportas
> > This will permit the searcher to locate anything whereby the level is at > $level or lower. > -Original Message- > From: Jordan Elver [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 16, 2001 1:28 PM > To: PHP General Mailing List; PHP DB Mailing List > Subjec

RE: [PHP-DB] Login System with access levels

2001-03-16 Thread Ron Brogden
At 02:00 PM 3/16/2001 -0600, you wrote: >First, I would NOT store passwords in a database. Rather, I'd store a hash >based upon the password and username. Storing a password is dangerous as >regards security. Just to be a little picky and *not* to start an argument (discussion yes), this reall

RE: [PHP-DB] Login System with access levels

2001-03-16 Thread Rick Emery
ED]] Sent: Friday, March 16, 2001 1:28 PM To: PHP General Mailing List; PHP DB Mailing List Subject: [PHP-DB] Login System with access levels Hi, I've got a db with a username and password in it. I can let people log in, like SELECT * FROM table WHERE username = username AND password = p

[PHP-DB] Login System with access levels

2001-03-16 Thread Jordan Elver
Hi, I've got a db with a username and password in it. I can let people log in, like SELECT * FROM table WHERE username = username AND password = password. But how can I add an access level column so that I can have different levels of security. So admin's can read everything, but users can only