Join Date: Apr 2002
Bikes: Transition Dirtbag, Kona Roast 2002 and specialized BMX
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
//using GET method because I like to have urls to copy blah blah
//GET is how an html form transmits data (or POST)
$to = 'your addy goes here';
$subject = 'place subject here';
$headers = 'From:firstname.lastname@example.org"\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
Keep in mind there is no data checking and this will email anything and everything inputted. I also didn't put in any fault checks. I just don't have the energy to bother. (heck I don't even know if the code will show up when vbulleting strips it)
All I did was move over the 'show' html into a variable and use that variable to email to whoever you want. Quick and dirty but something like it would do what you want.