User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 402,823 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,991 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting

Login problem, need fresh set of eyes.

Join Date: Oct 2007
Location: England
Posts: 30
Reputation: mortalex is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
mortalex mortalex is offline Offline
Light Poster

Re: Login problem, need fresh set of eyes.

  #8  
May 6th, 2008
The MySQL query is not working, it seems like it would work though;

  1. SELECT * FROM members WHERE email = 'test@test.com' AND password = SHA('test')

But it is not getting anything, it it because i've encrypted it into the SHA thing, and it can't search for that, its just that loads of people in my computing class at school, have got it working, with this same code.

It looks like it's running the query, because the

  1. echo $query;
  2. or die;

Is just displaying the actual query
Reply With Quote  
All times are GMT -4. The time now is 11:35 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC