Question:
Using godaddy hosting, I want to have a web form on my site that e-mails and says 'thank you' help?
John S
2009-11-30 16:25:51 UTC
So using godaddy hosting as mentioned..

I want users to click a link, that opens a little pop up form, they can fill out.. and when they click 'submit' it says 'thank you' and closes.. and of course e-mails me the form information.

I know with godaddy you can use.. webformmailer.php to get the email sent, but yeah... help? :)

(I'm pretty much just using basic html/css.. though if someone has a way of doing this with javascript and a tutorial or something, that would be rad)

Any advice, suggestions, or info on this would be great!! I'm a little bit stuck with it.

Thank you so much.
Four answers:
DeadMeth
2009-11-30 16:59:04 UTC
tectite sounds like it will do what you want. It emails the contents of a form, as well as user info like browser/OS settings, and returns users to a thank you page. It also has the option to save form info as a CSV, for things like registration/ data collection. Don't let the complexity scare you off, the form is written so you don't need to know the language to make changes.



If you want it to "pop up" and be closable (rather than just a regular page), try using lightwindow.



Both tools are well documented on their respective sites. See source for links.
J.J.'s Advice / Avis de J.J.
2009-11-30 17:31:20 UTC
Well, to start with, opening the form in a new window will be fairly simple:

[html]

Contact Me!

[/html]



If you want to get a little more advanced perhaps you'd like to go see http://www.boutell.com/newfaq/creating/windowsize.html on how to use JavaScript to open a new window with specific dimensions.







So now on to the actual contact page. I'm sure it's possible to do this in a few languages, but the one I'm most familiar with is PHP. Now, there are two ways to send e-mails from a PHP script. Either natively and directly using PHP's mail(); function, or by SMTP with the help of PEAR extensions.



Considering you're hosting on a professional server like GoDaddy, there should be support for e-mailing directly from the script. It's pretty straightforward to make a PHP e-mail form. Just look at my example at: ( http://paste-it.net/public/a1036ae/php/ ). Note that I just wrote this and didn't test it for syntax, so you should go through it first before implementing it.



If for some reason you can't use the PHP mail() script, then you'll have to download the proper PEAR extensions from http://pear.php.net and write a script similar to this one: ( http://paste-it.net/public/xb1ab86/ ).

Note that this form also includes some code for CAPTCHA (available from http://www.phpcaptcha.org/ ) and it assumes you have a separate webform that posts the "subject", "from", and "message" to it.
carris
2016-11-14 11:00:23 UTC
ultimate internet hosting for each little thing. Plans start up from 0.70 a month. extremely is the final for fifty-60 a 12 months dollars you get infinite disk area bandwidth, e mail debts, sub domain names, contains a million unfastened area.
BlueDirk
2009-12-01 08:02:10 UTC
This can be set up in no time

tze.110mb.com


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...