| 
	
 | 
 Posted by rainer on 03/24/06 19:58 
On Fri, 24 Mar 2006 17:45:04 +0200, rainer wrote: 
 
> Hi 
>  
>  
> I'm building a page where users can submit theyr comments and php 
> $_POST server side variable will collect that information and using mail 
> function will send it to local user: 
> 
Figured it out: 
 
 
$var1 = $_POST [yname]; 
$var2 = $_POST [email]; 
$var3 = $_POST [comment]; 
 
 
 
 
$to = "rainer"; 
$subject = "comments"; 
$headers = "From: contact@web.com"; 
$message =  
"$var1, 
 $var2, 
 $var3"; 
 
 
 
mail($to, $subject, $message, $headers); 
 
 
?> 
 
Rainer
 
  
Navigation:
[Reply to this message] 
 |