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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Help with contact us page

    Just wondering if someone can help with my simple problem.
    I have a website up and running with a contact us form on the contact page.
    It has the data in there but I can`t get it to do what its supposed to do when I fill out the form myself it shows and error page

    Here is the html as it is now what do I need to add to it to get it to work.

    <form action="index.html" method="post" class="message">
    <input type="text" value="Name" onFocus="this.select();" onMouseOut="javascript:return false;"/>
    <input type="text" value="Email" onFocus="this.select();" onMouseOut="javascript:return false;"/>
    <input type="text" value="Subject" onFocus="this.select();" onMouseOut="javascript:return false;"/>
    <textarea></textarea>
    <input type="submit" value="Send"/>
    </form>



    Thanks in advance!.

  • #2
    Senior Coder
    Join Date
    Sep 2010
    Posts
    1,911
    Thanks
    15
    Thanked 227 Times in 227 Posts
    You'll need more that just an html page with a form, you need something on the serverside like php or ssi to write the entered text to a file. I haven't cheked by I'll bet you will find many scripts for contacts and shouts and such.
    Welcome to http://www.myphotowizard.net

    where you can edit images, make a photo calendar, add text to images, and do much more.


    When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.

  • #3
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks, yes I thought there should be a contact.php or something else couldnt find one though, anyhow I found another easy install simple contact form.

    Thanks for the reply!.

  • #4
    New to the CF scene
    Join Date
    Jun 2013
    Posts
    7
    Thanks
    0
    Thanked 1 Time in 1 Post
    You have to use php. First give the names to the text box.Such as name,email,subject.
    Take the entered value in variable which is as fallows
    $name=$_REQUEST["name"];
    $name=$_REQUEST["email"];
    $name=$_REQUEST["subject"];
    then proceeds these variables.


  •  

    Posting Permissions

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