RE: [PHP] Re: homemade authentication function [SOLVED]

2003-07-23 Thread Sævar Öfjörð
Hey, thanks Sven. This seems to be working for me. -Original Message- From: sven [mailto:[EMAIL PROTECTED] Sent: 23. júlí 2003 10:35 To: [EMAIL PROTECTED] Subject: [PHP] Re: homemade authentication function i think the problem isn't only your 'return false' but also yo

[PHP] Re: homemade authentication function

2003-07-23 Thread sven
i think the problem isn't only your 'return false' but also your 'return true' in your first loop through your foreach will definetly a 'return' be passed. and return means return a value AND stop the function. not? try it this way: foreach ($groups as $value) { if(!isset($this->user['groups'