17,148
  • PHP Contact Form and Form Validation | Dreamweaver Tutorial - 1 of 2

    306,101 views 7 years ago
    Host Unlimited Websites for $3.88 Per Month with Powweb
    http://bit.ly/Powweb-Hostin...

    A Dreamweaver Tutorial by James at http://www.dreamweavertutor...


    TRY THE FORM OUT YOURSELF CLICK BELOW:

    http://bit.ly/Contact-Form




    DOWNLOAD THE FORM VALIDATION FILES HERE:

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

    I get so many requests from people asking me James! when are you going to make a Contact Form Tutorial. In fact, it's one of the most heavily requested tutorials that I get.

    It's so difficult to find a really decent contact form that not only looks professional and contemporary but is also safe and secure, a contact form that protects your website from the threat of email injection but also validates the form automatically to save you a ton of admin work cleaning out your email inbox from half filled messages.




    You're also looking for a contact form that can be easily adapted to fit any website.

    So were going to make a big bold form with big form input areas a large text area and generously sized submit button. But that's not all. Well also be attaching an amazing form validation system, well style a thank you message that will appear after the form has been sent and then we'll learn how to write a simple inline JavaScript redirect to send people to a page of your choice after the form has been submitted.


    google + gplus.to/dreamweavertutorial


    **************************************************
    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. Show less
    Read more
  • Popular uploads Play all

    This item has been hidden
  • insert rollover images into dreamweaver Play all

    in this 2 part tutorial from http://www.dreamweavertutorial.co.uk (website from july) we will be inserting rollover images into dreamweaver cs4. the images were created in fire works
    This item has been hidden
  • Typography in Web design Play all

    Website Typography is one of the crucial but mostly overlooked factors in website design.

    It's understandable, most beginners are too busy learning how to create their website layout and inserting content to bother with Typography.

    Ok, once you have your website up and running, follow this typography series which will teach you how to break up content to make it more engaging and interesting to you website visitors.
    This item has been hidden
  • Uploads Play all

    This item has been hidden
  • Popular uploads Play all

    This item has been hidden
  • This item has been hidden
to add this to Watch Later

Add to

Loading playlists...