[PHP] Is this code thread safe?

2007-06-13 Thread Christian Cantrell
I'm pretty sure this code is thread safe, but I just want to be 100% sure. I have a class called ViewHelper with a static function called is_signed_in. All it does is check the session for the existence of a particular variable, and if it's there, it returns true, otherwise false. Since the funct

Re: [PHP] Undefined index error

2007-06-10 Thread Christian Cantrell
Ah, you're right. Thanks, Tijnema. I'm just getting my feet wet with PHP, and you guys are a great help! Christian On 6/10/07, Tijnema <[EMAIL PROTECTED]> wrote: On 6/10/07, Christian Cantrell <[EMAIL PROTECTED]> wrote: > I'm getting this error in my Apache lo

[PHP] Undefined index error

2007-06-09 Thread Christian Cantrell
I'm getting this error in my Apache log file, and I can't figure out why: Undefined index: password in /path/to/file.php on line 82 Some searching on Google turned up a bunch of questions, but no answers. Any idea what this warning message is referring to? Thanks, Christian

[PHP] Sending mail on OS X

2007-06-08 Thread Christian Cantrell
Hi, all. I'm sure this question has been asked, but I was not able to effectively search the forum archives, so I'm having to ask it again. I'm trying to use the mail function to send email on OS X, but the email gets rejected by the mail server I'm sending to. I get messages in mail.loglike th