Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jun 2005
    Location
    Spain
    Posts
    105
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Insert contact form in website

    Hi,

    I don't know if I am in the right forum, but I would like to insert a contact form into my website and don't really know what technology to use. I am working with dreamweaver and there It seems I can make a form using ColdFusion or ASP.NET (I have no idea what that is all about) And I have heard that PHP is commonly used...

    Where do I start?

  • #2
    Regular Coder
    Join Date
    May 2008
    Location
    Lost in Localhost...
    Posts
    702
    Thanks
    3
    Thanked 43 Times in 42 Posts
    http://www.webgeekworld.com/web_deve...ails.php?id=42

    Go there, it gives you a tutorial (and the code) for making a contact form in PHP.

    (If you don't understand any of that, tell me)

  • #3
    Regular Coder
    Join Date
    Jun 2005
    Location
    Spain
    Posts
    105
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Millenia View Post
    http://www.webgeekworld.com/web_deve...ails.php?id=42

    Go there, it gives you a tutorial (and the code) for making a contact form in PHP.

    (If you don't understand any of that, tell me)
    Great thanks! I am on my way there now!

  • #4
    Regular Coder
    Join Date
    Jun 2005
    Location
    Spain
    Posts
    105
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Ok,

    Thank you very much!
    I did it I think!
    Look here The only problem is that I havent got rid of the "hidden field"
    Code:
    <input type="hidden" name="eip" value="<?php echo $_SERVER["REMOTE_ADDR"]; ?>" />
    It is showing as a "; ?>" in the bottom of the div. Any ideas?
    Last edited by Sofie; 07-21-2008 at 08:15 PM. Reason: fixed the problem

  • #5
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,509
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    Use this line instead (the problem is a quotes issue) ....

    <input type='hidden' name='eip' value='<?php echo $_SERVER["REMOTE_ADDR"]; ?>' />

  • Users who have thanked mlseim for this post:

    Sofie (07-21-2008)

  • #6
    Regular Coder
    Join Date
    Jun 2005
    Location
    Spain
    Posts
    105
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Thank you again - it was so easy when I just could copy and paste!


  •  

    Posting Permissions

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