contact-form

Trying to build a contact form for my lil website but I recieve a mailserver exception!

I realize that I need to use a mailserver so people can contact me, my question is, how can I set one up on my local machine so I can test it? I have XAMPP installed with PHPMyAdmin and I'm just toying and learning with it. Now, in my PRODUCTION server, what email should I use to send users comments to me? I'm really new and need some ...

What is the best way to route a static controller in Rails?

I have a static_controller that is in charge of all the static pages in the site and works as follows in routes.rb: map.connect ':id', :controller => 'static', :action => 'show' I have a static page called about that among other information, has a contact form. I currently have a contacts_controller that is in charge of inserting the ...

Basic Contact Form in PHP

I'm working on a contact form for my church website. The church has an email already registered (it's POP3) and the hosting company says their mail server is mymail.brinkster.com . With all that information, how can you send the form using mail()? The server won't show PHP errors. The current code looks like this: $headers = 'MIME...

Sending mail from a contact form. Simple but challenging!

I've set up a contact form in the Greet Us page in http://swedsb.com When I submit the form, it says mail sent successfully. But I'm not getting the mail, checked the spam folder. I've set a similar form at http://ibsolutions.in. It is working perfectly. Been breaking my head for the past 4 hours. Here's my contact.php <?php ...

PHP contact form, am I doing it wrong?

I'm learning PHP and I'm trying to write a simple email script. I have a function (checkEmpty) to check if all the forms are filled in and if the email adress is valid (isEmailValid). I'm not sure how to return true checkEmpty funciton. Here's my code: When the submit button is clicked: if (isset($_POST['submit'])) { //INSERT FORM VAL...

Best WordPress "contact us" plugin?

I've seen a few, and tried out Contact Form 7, which is pretty good but by default looks quite ugly. I've also had a quick dig, and it looks hard to add some hooks for CSS. It also doesn't use the label element. What is the best standards compliant easy skinnable contact Wordpress plugin in your experience? Update I just found out h...

Creating a Contact Form with Amazon Astore

Currently I have an amazon store that I am maintaining. I haven't really used this type of CMS before and I browse to the Contact page where there is a contact widget. Standard contact form: name, email, subject, message with standard validation checks. However, the form action="#" and onsubmit="validate()" I'm wondering if anyone has h...

PHP grouped form and some has extra data

Have a form that is emailed with checkboxes. Some checkboxes have an optional field to enter text. Like "other and more info" How can I attach the text people entered to those check boxes that this option. This is one group. <form action="sendemail.php" method="POST" name="Contact Form"> <div><input type="checkbox" class="checkb...

Really basic help w/ a php contact form

I feel like I must be missing something simple here... Nothing sends, nor do I receive the success message. <?php if(isset($_POST['submit'])) { $to = "[email protected]"; $subject = "Feedback Form"; $name_field = $_POST['name']; $email_field = $_POST['email']; $message = $_POST['message']; $body = "From: $name_field\n E-Mail: $emai...

Sanitize contact form without mysql_real_escape_string

I normally use this function to sanitize my form inputs before storing them into my database: //Function to sanitize values received from the form. Prevents SQL injection function clean($str) { $str = @trim($str); if(get_magic_quotes_gpc()) { $str = stripslashes($str); } return mysql_real_escape_string($str); } ...

Jquery & Php Contact Forum

I cant get it to submit. It will say if the email is not there but after that all the other error messages do not work and in the end it wont let you send. Any help would be greatly appreciated. The Html <form id="contactForm" action="bin/sendme.php" method="post"> <span> <input type="text" name="contactTi...

Using WordPress comments.php file as a contact form.

Hi, I want to build my WP theme with a built in contact form. Something simple without captcha. I would like to use just Akismet as a spam filter. So, my first thought was to "convert" the comments.php page into a contact page template. Which I got it, but some points need to be improve. 1) When you use the contact, there is no notific...

Can I make simplemodal contact form post across domains?

I'm using the SMCF Wordpress plugin on this site: http://fingelly.com/ As you can see it uses ajax to post the form fields to get mailed and then updates the modal. Some of the nav options at the site take you to a 3rd party IDX (real estate listings) provider. For example click on the tabs marked agents and the url changes to fingelly...

PHP contact form: can I take the value of a span instead of an input?

Hi, I'm setting up a contact form, but I have some saved information in some spans (It's an ecommerce shopping basket) and the built in checkout is awful so we're just slapping together an easy solution: turn it into an email form and email us the order instead of losing customers. Anyway, can I use the info in the span, taking the id ...

Problem with sending an email via php script?

Hi, I've had something strange happen lately with php script I use to send emails from an online contact form and just wondered if any one could shed a little light on the issue. I've had a php script which I use on multiple websites and it has always worked fine, but for some strange reason, I tried using in on one site and it just wa...

Salesforce Lead Tracking integration with Contact forms on Wordpress

I have raised this question on the WP Answers as well. But since this uses Salesforce too, wasn't sure if I'd get a response there. I am using Contact Form 7 on my website and would like to integrate Salesforce lead tracking with it. I was able to add a hidden field with my oid as suggested on this site But when I submit the contact f...