[flashpro] simple PHP form

Christine Paulsen christine at photoeyeview.com
Mon Sep 19 10:40:30 EDT 2005


It may be as simple as removing the space between $msg and the period.
Hope this helps.

Here is a sample of the code I use for mailing:

$msg = " POS animations developed for Vodafone to be displayed on plasma
screens in stores around the UK \n";

$msg.= " Each animation coincided with current promotions and would be based
on the pre-conceived print marketing material. \n\n";

$mailheaders = "From: Photo Eye View <christine at photoeyeview.com>\n";

$mailheaders.= "Reply-To: $email\n\n";

mail("christine at photoeyeview.com", $subject,$msg,$mailheaders);

-----Original Message-----
From: flashpro-bounces at muinar.org [mailto:flashpro-bounces at muinar.org] On
Behalf Of Manmeet Bilkhoo
Sent: Sunday, September 18, 2005 1:53 PM
To: Mailing list for professional Flash designers and developers
Subject: [flashpro] simple PHP form

Hi,

i'm creating a simple flash enquiry form using PHP, all is success except 
when I receive emails, any text after carraige returns seems to dissapear. 
Ha anyone encountered this?...any solution?

Example...

full message should be:
POS animations developed for Vodafone to be displayed on plasma screens in 
stores around the UK.
Each animation coincided with current promotions and would be based on the 
pre-conceived print marketing material.


what I get is:
POS animations developed for Vodafone to be displayed on plasma screens in 
stores around the UK.

PHP code:

<?php
$to = "info at myemail.com";
$msg = "$name writes:\n\n";
$msg .= "$message\n\n";
mail($to, $subject = "Website enquiry", $msg, "From: Website UK: 
$name\nReply-To: $email\n");
?>





------------------------------------------------------------------
send message to the list:               mailto:flashpro at muinar.org
[FlashPro] list info, subscribe, archive:   http://flash-list.com/
There's also a WebPro mailing list:     http://webdesign-list.com/
cutting-edge sounds for flash:            http://flash-sounds.com/


__________ NOD32 1.1219 (20050916) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com




More information about the FlashPro mailing list