Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
A LOGIN PROBLEM!

 
Reply to topic    Forum Index » Strawberry Support View previous topic
View next topic
A LOGIN PROBLEM!
Author Message
Hemen



Joined: 27 Jan 2008
Posts: 1

Post A LOGIN PROBLEM! Reply with quote
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 View user's profile Send private message
Guest








Please login to hide the ads.

scottdallas



Joined: 04 May 2006
Posts: 1802
Location: US

Post Reply with quote
I think

Code:
///////////////////////////////////////////////////////
// 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 Smile
last update: 07-22-08: 8:30 pm
Sun Jan 27, 2008 6:00 pm View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Strawberry Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
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



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.