A
Anonymous
Guest
Good day tsvehla1220!
I hope this will help you even it is a late reply..
I have seen you code seem it is good the only problem is the mail function:
mail(To,Subject,Message,From)
you have problem in To and From in the mail function...
To: is for the reciepient
from: the sender
//////// Your Code/////
But if I fill out
Email: admin@pornwallstreet.com
Message: PLEASE WORK DAMNIT!
It goes!
Yes it wil work since you have specified in your mail function that the To: will be admin@pornwallstreet.com. If the users inputed email that will not equal to admin@pornwallstreet.com it will not send since your
mail(to:is not equal to admin@pornwallstreet.com,Subject,Message,From) coz you have specified in your mail function that the To: is admin@pornwallstreet.com
<? ///your code
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "admin@pornwallstreet.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.pornwallstreet.com/" );
?>
/////////////////////
///SUGGESTED CODE
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "$email", "Feedback Form Results",
$message, "admin@pornwallstreet.com " );
header( "Location: http://www.pornwallstreet.com/" );
?>
//////
correct me if im wrong...God Bless
I hope this will help you even it is a late reply..
I have seen you code seem it is good the only problem is the mail function:
mail(To,Subject,Message,From)
you have problem in To and From in the mail function...
To: is for the reciepient
from: the sender
//////// Your Code/////
But if I fill out
Email: admin@pornwallstreet.com
Message: PLEASE WORK DAMNIT!
It goes!
Yes it wil work since you have specified in your mail function that the To: will be admin@pornwallstreet.com. If the users inputed email that will not equal to admin@pornwallstreet.com it will not send since your
mail(to:is not equal to admin@pornwallstreet.com,Subject,Message,From) coz you have specified in your mail function that the To: is admin@pornwallstreet.com
<? ///your code
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "admin@pornwallstreet.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.pornwallstreet.com/" );
?>
/////////////////////
///SUGGESTED CODE
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "$email", "Feedback Form Results",
$message, "admin@pornwallstreet.com " );
header( "Location: http://www.pornwallstreet.com/" );
?>
//////
correct me if im wrong...God Bless