-
I need a something to do...
What do you have in mind Ben?
-
I need a something to do...
Maybe, I would need to think of something to write about though first. My head is blank at the moment that's why I sought the ideas of others.
-
I need a something to do...
I have a few days free, I'm off work now until Monday and have nothing to do in the meantime. I need a small project or something to keep me busy otherwise I will soon find myself within the depths of boredom. Does anyone have any ideas or need help with anything PHP/MySQL based? I look forward to your replies.
-
-
-
Simple login script problem
Sorted it Thank you, I used the wrong function :S no idea why I used that.
-
-
-
Simple login script problem
I fixed it. Thank you for your response though. VERY silly mistake. Both the sign up form and the login form had the wrong field names so when registering ALL passwords = '' and same with logging in thus bypassing the need for a password. I feel like an idiot now.
-
Simple login script problem
I'm pulling my hair out here. I can't figure out what's wrong and I bet it's sonthing so simple that I missed. I have a very simple login script in PHP which I'm having troubles with. When I enter the wrong username and password intentially to test it, it still logs in. However if I enter the wring username it does as it shouold. As you can see the is MASSIVE security hole that needs fixing. Please help. <?php session_start(); require('config.php'); $username = $_POST['user']; $password = $_POST['password']; $username = stripslashes($username); $password = md5($password); $checkuser = mysql_query("SELECT * FROM users WHERE username = '$username' AND password = '$password'"); $count = mysql_num_rows($checkuser); if($count == 1){ $_SESSION['loggedin'] = "true"; $_SESSION['user'] = $username; header("Location: index.php"); exit; } else { $_SESSION['loggedin'] = "false"; header("Location: error.php?code=2"); exit; } ?> No matter what I seem to do, this bit is getting ignored. AND password = '$password' Thank you
-
It's been a while since I've been here....
I thought I would just say hi to you all before I start posting again. It's been a while since I've been on WDF because I have been busy. with various things. Anyway I look forward to chatting to you all and helping out the odd person.
-
Passed my Driving Test
Woop, congratulations.
- bye
- Word Association
-
has there been a typo :|
I think the reason somebody has bid so much on the item is to stop the seller getting any money by selling something like this. The person bidding that much obviously won't pay, there was a thing similar to this when the Live 8 tickets where given out. To stop people selling them on eBay people made ridiculous bids. I shall try to find something on it for you guys EDIT: Here you go http://news.bbc.co.uk/1/hi/entertainment/music/4090774.stm
-
WDF is moving house
Woop everything went smothly
-
WDF is moving house
Yeah, I noticed the speed difference. Things seem pretty good so far, will WDF keep its PR with the domain DNS changing?
-
Hi Everyone
Welcome the forum, you will like it here.
-
hi 2 everyone
Welcome to the forum!