RE: [PHP] mail() and textarea

From: Date: Sat, 16 Dec 2000 01:37:59 +0000
Subject: RE: [PHP] mail() and textarea
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30637@lists.php.net to get a copy of this message
> Please post the script...if your textarea is called $foo are you doing > any > processing to $foo before it get's to the mail function? > here is the (simplified) script: <? if (isset($submit)){ mail("inputyouraddress@mysite.com","SomeSubject",$textarea_content); echo "OK"; }else echo " <html> <body> <form method=post> <textarea name=\"textarea_content\"></textarea> <input type=submit name=submit value=Submit> </form> </body> </html>"; ?> -- Sent through GMX FreeMail - http://www.gmx.net

« previous php.general (#30637) next »