SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot Yizi's Avatar
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP Contact form

    Hi,

    What is the best way to code the back-end for this contact form (PHP obviously):

    ivyhomes.co.uk/contact.php

  2. #2
    SitePoint Addict
    Join Date
    Jul 2008
    Location
    sudo rm -rf /
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With database? I prefer mysql.

  3. #3
    SitePoint Evangelist tangledman's Avatar
    Join Date
    Sep 2005
    Location
    Puerto de Mazarron, Murcia, Spain
    Posts
    425
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well depends what you want to do with it.

    Verify the input to check there is nothing nasty?
    Check for blank fields
    do you want to mail the contents of the form to a recipient?
    Insert the contents into a database?

    I am just writing a form that does all three www.stivesrental.co.uk

  4. #4
    SitePoint Zealot Yizi's Avatar
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Their host don't provide free database (crap i know) something simple, maybe few validations, as long as it functions properly.

  5. #5
    SitePoint Zealot Yizi's Avatar
    Join Date
    Jan 2008
    Location
    Manchester, UK
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so anyone have any simple script? I'm not a PHP person at all, but i'm learning.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •