> I worked on it so long now I have to come back to you > it gives me an Parse error: > Parse error: parse error, expecting `'('' in members_read_send.php on line > 5 > > Iam so sorry to bug u so much but can u help me finish here please? > > <?php > $lines = file(data/default2.users); > for each ($lines as $line)
foreach() is all one word... > { > list ($User, $UserN, $Pass, $Date, $Realf, $RealL, $Email, $Street, > $City, $State, $Postal, $Country, $Phone, $Webaddress, $ex1, $ex2, $ex3, > $ex4, $ex53, $ex7 ) = explode("|", $buffer); > > $myname = "browseabit"; > $myemail = "[EMAIL PROTECTED]"; > $myreplyemail = "[EMAIL PROTECTED]"; > $contactname = "$Realf"; > $contactemail = "$Email"; > > $message = " message here ...."; > $subject = "Subject here"; > $headers .= "MIME-Version: 1.0\r\n"; and change this to $headers = "MIME-Version: 1.0\r\n"; > $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; > $headers .= "From: ".$myname." <".$myemail.">\r\n"; > $headers .= "To: ".$contactname." <".$contactemail.">\r\n"; > $headers .= "Reply-To: ".$myname." <$myreplyemail>\r\n"; > $headers .= "X-Priority: 1\r\n"; > $headers .= "X-MSMail-Priority: High\r\n"; > $headers .= "X-Mailer: browseabit"; > > mail($contactemail, $subject, $message, $headers); > > echo "<font face=\"Arial\" size=\"2\" color=\"#000000\">Memmber $Realf > $RealL from $City $State $Country is been notified...</font><br> "; > } > > ?> ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php