 |
 |
 |
 |
 |
| Author |
Message |
Hemen
Joined: 27 Jan 2008 Posts: 1
|
|
A LOGIN PROBLEM! |
|
When i log in it stays: Warning: Invalid argument supplied for foreach() in C:\hosted\pokenorway\cutewww\inc\functions.inc.php on line 56 plz help me!
|
|
| Sun Jan 27, 2008 1:59 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1802 Location: US |
|
|
|
I think
 |  | ///////////////////////////////////////////////////////
// Function: check_login
// Description: Check login information
[b]function check_login($username, $md5_password){
global $member, $members;[/b]
$result = false;
foreach ($members as $row){
if ($username == $row['username'] and $md5_password == $row['password']){
$result = true;
$member = $row;
}
}
return $result;
} |
isn't working.. but I don't know why. I made line 56 bold. Sounds server related.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Sun Jan 27, 2008 6:00 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
 |
 |
 |
|