SitePoint Sponsor

User Tag List

Results 1 to 15 of 15

Thread: Contact form

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Oct 2008
    Location
    London
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Contact form

    Hello Everyone,

    I not that experienced with web design when it comes to php scripts still learning. I am designing my website and would like to add a contact form that don't need php scripts.Does anyone knows where I can get such scripts.

    many thanks



    helen
    Colorize Old Black and White Photos Photo Restorations

  2. #2
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    mmm.... someone asking on the php forum not to use php !!!

    You are going to need some scripting somewhere, be it php, asp, or Perl, a straight html page can send the form data, but cannot recieve and process it let along send an email.

    Yes there are packages available that you can download and plug into your site, (the scripts are predone) or there are services that you just point your form to and they will process and send the email for you.

    But sitting here with my PHP hat on, why not take a couple of hours and learn how to write that script yourself its easier than it looks, and theres loads of support here.

    http://www.freecontactform.com/email_form.php
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  3. #3
    SitePoint Zealot
    Join Date
    Oct 2008
    Location
    London
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mandes View Post
    mmm.... someone asking on the php forum not to use php !!!

    You are going to need some scripting somewhere, be it php, asp, or Perl, a straight html page can send the form data, but cannot recieve and process it let along send an email.

    Yes there are packages available that you can download and plug into your site, (the scripts are predone) or there are services that you just point your form to and they will process and send the email for you.

    But sitting here with my PHP hat on, why not take a couple of hours and learn how to write that script yourself its easier than it looks, and theres loads of support here.

    http://www.freecontactform.com/email_form.php


    Thanks for the link would I need a database like MySQL as well? or just have php?
    Colorize Old Black and White Photos Photo Restorations

  4. #4
    SitePoint Addict tom8's Avatar
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    310
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You cannot implement a contact form without a script to process it. The script can be written in PHP, Perl, ASP, or any type of programming language your server support. However, there are services available that will process the form for you such as Google Docs:

    http://programmingkid.com/google-doc...ithout-coding/

  5. #5
    SitePoint Zealot
    Join Date
    Oct 2008
    Location
    London
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tom8 View Post
    You cannot implement a contact form without a script to process it. The script can be written in PHP, Perl, ASP, or any type of programming language your server support. However, there are services available that will process the form for you such as Google Docs:

    http://programmingkid.com/google-doc...ithout-coding/
    I guess I have a lot to learn.
    Colorize Old Black and White Photos Photo Restorations

  6. #6
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    I have moved this from php. Like you, I am no programmer and although it's been explained to me several times and I've read through several tutorials, php is not as easy as it looks and messing it up can mean a major break in your site. Hopefully, someone here can help you. There are several plugins and scripts that can send contact information. Probably, though, your best option is a boiler plate php that will deal with security issues as well as deliver mail to your inbox.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  7. #7
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,323
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    The basic PHP scripts available online are pretty simple to use. You just need to change the email address. All the same, there are some nice alternatives out there, such as WooFoo.

  8. #8
    SitePoint Zealot
    Join Date
    Oct 2008
    Location
    London
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Shyflower View Post
    I have moved this from php. Like you, I am no programmer and although it's been explained to me several times and I've read through several tutorials, php is not as easy as it looks and messing it up can mean a major break in your site. Hopefully, someone here can help you. There are several plugins and scripts that can send contact information. Probably, though, your best option is a boiler plate php that will deal with security issues as well as deliver mail to your inbox.
    I am glad someone realised php is not easy at all and yes I am scared I will make a big mess but I just need to learn from scratch.
    Colorize Old Black and White Photos Photo Restorations

  9. #9
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    No Helen You do not need a database, just a server that can accept php scripts
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  10. #10
    SitePoint Zealot
    Join Date
    Oct 2008
    Location
    London
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up contact form

    Quote Originally Posted by Mandes View Post
    No Helen You do not need a database, just a server that can accept php scripts
    ok thanks.
    Colorize Old Black and White Photos Photo Restorations

  11. #11
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    look at the link I gave you back in my original post, its complete and you only have to change a couple of lines to make it work for you.

    To know whether your hosting package handles php scripts make a blank file called test.php and put this code in it.

    PHP Code:
    <?php
    echo 1+4;
    ?>
    save to your server then call up the file from a browser, if you see the number 5 then your good to go.
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  12. #12
    SitePoint Zealot
    Join Date
    Oct 2008
    Location
    London
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face

    Quote Originally Posted by Mandes View Post
    look at the link I gave you back in my original post, its complete and you only have to change a couple of lines to make it work for you.

    To know whether your hosting package handles php scripts make a blank file called test.php and put this code in it.

    PHP Code:
    <?php
    echo 1+4;
    ?>
    save to your server then call up the file from a browser, if you see the number 5 then your good to go.
    I have got php installed and can see it at localhost that it has been installed but when i tried your code in dreamweaver I get the following:

    Not Found

    The requested URL /test.php was not found on this server.
    Colorize Old Black and White Photos Photo Restorations

  13. #13
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,323
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by helen6391 View Post
    when i tried your code in dreamweaver I get the following:

    Not Found

    The requested URL /test.php was not found on this server.
    You need to navigate to the test.php page in your browser to test the page. Dreamweaver won't process PHP.


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
  •