Results 1 to 9 of 9

Thread: Complete mail form and redirecting page . . .

  1. #1
    Join Date
    Apr 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Complete mail form and redirecting page . . .

    Hi, could i have some help for creating a php mail form which will be quite dynamic for the user. As in it will either redirect to a page when it is sending the message or it changes on the page in front of you without changing page if you get me. Im a php novice so not to knowledgable

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Apr 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thats exactly what i want cheers although it dosent seem to work . . .

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Are you using the original or the modified version? If you are using the original, try the modified one that I posted in that thread. Also, view the README file in there to get it working 100% on your system.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    What exactly isn't working? Do you get any errors?

    And did you change the $from variable to your email address?
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  6. #6
    Join Date
    Apr 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    IM using the 2nd one you posted up ive changed the variable aswell.

    When its on the web the MAIL IT and RESET button dont work or send the page just stays static and no e-mails arrive.

    NO error messages come up

  7. #7
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    I just tried the script "Out of the Box" and it works fine. You can test here:
    http://phphost.smackum.com/dd/ajaxcontact/

    To further troubleshoot your problem, can you post a link to your problem page.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  8. #8
    Join Date
    Apr 2007
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    is there meant to be a sort of inbetween or thankyou page. ^^ on the one above there isnt, but at least the buttons work lol

  9. #9
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Quote Originally Posted by wentwooddownhill View Post
    is there meant to be a sort of inbetween or thankyou page. ^^ on the one above there isnt, but at least the buttons work lol
    When you submit the form, you should notice just below the buttons is some text that either says "Mail ($subject) sent successfully!" or "Mail Failed!" (or some other generic failure message). If you just wanted to do a normal mail form (without the ajax invocation), you could simply get rid of the AJAX calls and have the form point to your PHP form-mail script (in this case, send.php).

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

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
  •