Re: PHP: Undefined Variables Error Message

From: Date: Thu, 26 Aug 2004 21:10:43 +0000
Subject: Re: PHP: Undefined Variables Error Message
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-194851@lists.php.net to get a copy of this message
Intersting. This is the same pair of html and php files that was functional on another server. Can you think of any reason that could account for the difference? Jeff At 01:51 PM 8/26/2004, John Holmes wrote:
Jeff - Webmaster wrote:
Another website dies on line 4 here:
        $headers .= "MIME-Version: 1.0\r\n";
Well, in this case it's becaue $headers is undefined, yet you're trying to concatinate another string to it. Thus the warning... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals ­ www.phparch.com


« previous php.general (#194851) next »