i have just spent 3 hours doing a feedback form on my site this is where it is: www.bigbdisco.co.uk/feed_back.html it will not do anything can some one tell me where i have gone wrong,
i followed the 2 videos that are provided
i have just spent 3 hours doing a feedback form on my site this is where it is: www.bigbdisco.co.uk/feed_back.html it will not do anything can some one tell me where i have gone wrong,
i followed the 2 videos that are provided
post the code your are using on action.php
Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
this is what they say to put in the page:
<?PHP
$mailto = "exampleemail@example.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Type your mail subject here";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
And this is correct. However, REPLACE the parts in blue with your own email address, as well as the desired subject and start of message, and then save/republish/refresh browser / test
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!
The code is correct as Naval has stated- simply make the changes he pointed out in the php code. However your action is listed on the form as:
"http: //www.mycontactform.com/sendform/sendform.php"
while you have an action.php page. Additionally- there is no subfolder - sendform that I can see.
So- I would make the action on the form action.php then save and re-publish. Then test the form and post back.
Andy
PHP- is a blast!
There are currently 1 users browsing this thread. (0 members and 1 guests)