PDA

View Full Version : Problem with PHP/Flash e-mailer



aggieSlaughter
08-01-2004, 08:58 PM
I'm having a problem with the following site.
www.texasgymrats.com/contact (http://www.texasgymrats.com/contact)
below is my PHP code

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

email.php

<?php
$name=$_POST['name'];
$email=$_POST['email'];
$subject='Message from TexasGymRats.com';
$message=$_POST['message'];
$name=trim($name);
$email=trim($email);


$to='**DESIRED E_MAIL ADDRESS**';

//YES, this line is corrected in my code.


mail($to, $subject, $message, "From: $name <$email>");
$name='';
$email='';
$subject='';
$message='';
echo "response=passed";
exit;
/?>



I can paste my action scripting for flash if you guys see nothin wrong with the PHP.

Thanks,
AggieSlaughter

aggieSlaughter
08-02-2004, 05:14 AM
anyone??

:confused: