Grow your CSS skills. Land your dream job.

contact us

  • # December 22, 2012 at 3:15 am

    http://www.psdmafia.com/contact.html

    i want when any user came in my website and fill the contact form and after that message should be show in my contact form such as

    **your message successfully sent**

    Thanks advance

    # December 22, 2012 at 6:47 am

    you might find this useful http://bit.ly/UXs4A0

    __
    # December 22, 2012 at 10:01 pm

    @jurotek I’d actually recommend against that example – it has bad security ideas in it (e.g., printing user output without validating or sanitizing it first).

    it appears that [github is down while they investigate unicorns](https://status.github.com/messages), but here’s a link to my standard-response [example PHP contact form](http://custom-anything.com/sand/contact_example.php).

    **EDIT**: github is back up; [here’s the gist](https://gist.github.com/4365526).

    # December 23, 2012 at 5:25 am

    Nice one traq! I know that is hard to do. The way I did it was much more complicated that it seems you did it.

    __
    # December 23, 2012 at 2:17 pm

    Thanks @Eric. It’s a common enough question, so I figured I’d make an example.

    I’m rewriting it as a class (object-oriented code), which will make it much more flexible and easier to use – but functional code is less intimidating for a lot of people, so I started that way. I’m also working on the docs (but I’m in the middle of another tutorial right now).

    BTW github is back up; [here’s the gist](https://gist.github.com/4365526).

    # December 23, 2012 at 3:30 pm

    Here’s how I did it with five pages lol. Turned out nice albeit less easier than yours and uses JS unlike yours. http://www.visibilityinherit.com/code/jquery-ajaxsubmit.php

    # December 23, 2012 at 6:10 pm

    @traq post back would you when you finish with that new one your working on. I’d be very interested to see it. Thanks :)

    __
    # December 24, 2012 at 2:26 am

    Yeah, I’ll post back here. Maybe I can find some time for it over the holiday.

    > http://www.visibilityinherit.com/code/jquery-ajaxsubmit.php

    Is there something missing from your `formmail.php`? It seems incomplete (some vars are unused; others seem to be used but never defined…?). Or were you focusing more on the AJAX parts?

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".