PHP Contact Form and Form Validation | Dreamweaver Tutorial – 2 of 2

Share it with your friends Like

Thanks! Share it with your friends!

Close

Host Unlimited Websites for $3.88 Per Month with Powweb
http://bit.ly/Powweb-Hosting-Sale

Part 2 of the Contact Form and Validation Dreamweaver Tutorial by James @

http://www.dreamweavertutorial.co.uk

DOWNLOAD THE FORM VALIDATION FILES HERE:

http://bit.ly/Contact-Form-Download

**************************************************
COMMON TROUBLE SHOOTING ISSUES
**************************************************

IMPORTANT: If your problem is not on the list below then if you want a reply to your problem then you need to put a link to the contact form you are building.

* NO LINK = NO HELP *

I’m not Harry Potter and I cannot shake my wand and say “Contacto Fixio” to make your contact form magically work so please provide a link.

—————————————————————————————————-

Question:

Do you need a payed hosting for this?

Answer:

Not necessarily but it would help. If you pay nothing for you hosting then you get no support from the free hosting supplier. But if it doesn’t work on a free host it may be that you have made a coding mistake

——————————————————————————————————————-

Question:

where i download Form validation file?

Answer:

If you haven’t work that out yet after me telling you in the video and by reading this description then please don’t do this tutorial, it is way over your head.

———————————————————————————————————————

Problem:

I cannot download the zip files and I’m using a MAC.

Answer:

You need the RAR EXPANDER which is available as a free download from the Apple website.

———————————————————————————————————————
Problem:

Warning: mail() [function.mail]: “sendmail_from” not set in php.ini or custom “From:” header missing in C:\xampp\htdocs\contact.php

Solution:

Punch yourself in the face and remember what I said at the start of this tutorial which was “to do EVERYTHING that I do.” I can’t remember going to Xampp or Wamp or Tramp. You don’t know how to configure your Xampp server properly but why do that when the form is already designed for you?? Upload it to a REAL hosting server and it will work just fine and then think about how you could have been finished hours ago if only you had listened to Uncle James.

———————————————————————–

Problem:

Fatal error: Call to undefined function: str_ireplace() in /homepages/12/d88179579/htdocs/contact.php

Solution:

This is not your fault, your hosting company is cheap and they still run your cheap hosting on a PHP4 configuration. Phone them and tell them to switch you over to PHP5 or above. They will do this for FREE and it they try to charge you then cancel your contract.

——————————————————————–

Problem:

“Everything validates and the message sends but I don’t receive it in my email inbox. Please help me.”

Solution:

This can be difficult to diagnose without seeing a link to the form but when you signed up for you hosting plan did you take out:

A) a Windows based hosting server or
B) a Linux based hosting server?

If you chose:

A) You are FAIL; windows is ASP not PHP, phone your host and switch plans
B) You will need to send me a link to your form. It is something else.

———————————————————————————————————

I’ll keep adding to the list above as people report their issues

Comments

Write a comment