Re: Need Urgent Help!!

From: Date: Thu, 31 Jan 2002 08:49:41 +0000
Subject: Re: Need Urgent Help!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-82888@lists.php.net to get a copy of this message
Make flash send the form's variables to email.php. Contents of email.php: <? $message = "Your message here. If you'd like to use some of the form elements, call them as $varname. To make a newline in the mail message type \n."; // $toemailaddress will need to be set to the recipient's email address. In flash, set a form element to be named toemailaddress. In PHP, uncomment the line below. // $toemailaddress = "to_email@address.com"; if ( mail ($toemailaddress,'Your message subject here,$message,'From: your@emailaddress.com')){ echo "?sent=true"; } else { echo "?sent=false"; } ?> This script will also tell your flash file whether the mail was successfully sent or not, by outputting sent as 'true' or 'false'. "Scott" <scott@mickeyratz.com> wrote in message news:20020131074724.60957.qmail@pb1.pair.com... > All, > I have just found out that the VB script that I have used to send email from > my web site is null and void, apparently the server does not do VB or > something along those lines (security) but that's not the issue. I have > contacted my teh people who host my site and they told me I have to use PHP > script. > My website (Flash) needs to be able to send emails and membership > applications from form I have already created, does anyone have any scripts > and directions that some with absolutely no code writing skills can use. > Your help is greatly appreciated!! > Billy > >

« previous php.general (#82888) next »