note 66122 added to function.mail

From: Date: Mon, 15 May 2006 10:04:57 +0000
Subject: note 66122 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-111311@lists.php.net to get a copy of this message
as i can see $headers variable was not initialized correctly before so you cannot add anything to string that does not exist $headers = ""; //initializes $headers .= ""; //adds you cannot start with $headers .= ""; regards! ---- Server IP: 195.136.184.34 Probable Submitter: 62.21.44.181 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- http://master.php.net/note/edit/66122 Del: integrated -- http://master.php.net/note/delete/66122/integrated Del: useless -- http://master.php.net/note/delete/66122/useless Del: bad code -- http://master.php.net/note/delete/66122/bad+code Del: spam -- http://master.php.net/note/delete/66122/spam Del: non-english -- http://master.php.net/note/delete/66122/non-english Del: in docs -- http://master.php.net/note/delete/66122/in+docs Del: other reasons-- http://master.php.net/note/delete/66122 Reject -- http://master.php.net/note/reject/66122 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#111311) next »