Re: problem code

From: Date: Sun, 01 Feb 2009 20:39:20 +0000
Subject: Re: problem code
References: 1  Groups: php.general php.qa 
Request: Send a blank email to php-general+get-287514@lists.php.net to get a copy of this message
Top-posting. Chris, you're on the wrong list. Please send messages like this to php-general@lists.php.net, and subscribe[1] to that list to follow along. This QA list is for the PHP Quality-Assurance Team. 1: http://php.net/mailinglists - or - php-general-subscribe@lists.php.net On Sun, Feb 1, 2009 at 14:08, Chris Ives <chris@ives.bz> wrote: > > What is wrong with this code? > > > > $x_Message = $x_fname." ".$x_lname." ".$_practice." just registered > for > ".$x_nevent."Method of payment ".$x_payment." Email address > is".$x_email." > Telephone number".$x_tele. "Question is ".$x_qanda."; > > > > $message = $x_Message; > > $from = $x_email; > > $to = "ncives@gmail.com"; > > $subject = "Panorama Registration"; > > $headers = "From: $from"; > > /* Now we are ready to send the email so we call php's mail() function > > with the appropriate variables from above included in the brackets */ > > mail($to,$subject,$message,$headers); > > > > -- > PHP Quality Assurance Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > -- </Daniel P. Brown> daniel.brown@parasane.net || danbrown@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out!

« previous php.general (#287514) next »