Question regarding web forms.

  • nhood01
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 27, 2009
  • Posts: 11
  • Status: Offline

Post February 27th, 2009, 12:51 pm

Can anyone tell me how i would go about adding a contact form to a web page that can directly send messages to my e-mail?... like the one on the lower right hand side of this site.

http://www.mariusroosendaal.com/

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 27th, 2009, 12:51 pm

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post February 27th, 2009, 2:52 pm

That is simple, you create a form with the action to the processing page, in the processing page you make sure that everything is filled in accordingly and then either use the php mail function or some SMTP class that could be found on the web.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • nhood01
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 27, 2009
  • Posts: 11
  • Status: Offline

Post February 27th, 2009, 3:10 pm

I know next to nothing about this sort of thing. So it's php i need to know in order to do this?
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post February 27th, 2009, 3:15 pm

Well, yes you could either PHP or some other programming language. I would recommend PHP because you will be able to find a lot more help on it since a lot of people know it.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • nhood01
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 27, 2009
  • Posts: 11
  • Status: Offline

Post February 27th, 2009, 3:25 pm

Bogey wrote:
Well, yes you could either PHP or some other programming language. I would recommend PHP because you will be able to find a lot more help on it since a lot of people know it.


Alright, thank you for your help. Are there any web resources on learning php that you would recommend?
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post February 27th, 2009, 3:28 pm

You can start off with http://w3schools.com/ and start from there, or just get an already made code and upload it on your server. Just make sure that your server supports PHP.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • nhood01
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 27, 2009
  • Posts: 11
  • Status: Offline

Post February 27th, 2009, 3:44 pm

Thanks again.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post February 27th, 2009, 3:49 pm

nhood01 wrote:
Thanks again.

Your welcome. Ask any question you have and we'll answer it here... if you don't like my answers just say so and ask for what you want specifically :D
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • nhood01
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 27, 2009
  • Posts: 11
  • Status: Offline

Post February 28th, 2009, 5:33 pm

Do you know where i can get ahold of a premade code for a form like i mentioned above?

I'll proceed with learning php, but its gonna be awhile till i can code that myself.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post March 1st, 2009, 12:40 pm

I could code it for you... tell me what kind of fields you desire and I will do it for you... Or do you want it exactly as the example you gave?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • PolishHurricane
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 17, 2005
  • Posts: 1585
  • Status: Offline

Post March 1st, 2009, 6:38 pm

Here is a tutorial for creating a contact form in PHP, it's quite easy: http://www.kirupa.com/web/php_contact_form.htm

This may also help you: http://gog.is/php,contact,form,tutorial

Even for someone who doesn't know it, it should only take 20 min, 30 min tops to make something like that.
There's no place like 127.0.0.1, badass part is now it's ::1
  • nhood01
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 27, 2009
  • Posts: 11
  • Status: Offline

Post March 2nd, 2009, 3:35 pm

Bogey wrote:
I could code it for you... tell me what kind of fields you desire and I will do it for you... Or do you want it exactly as the example you gave?


The fields would just be Name, E-mail Address, and Message but let me first try and see if i can get the premade code from the site linked by PolishHurricane to work.

Thanks.

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: Kurthead+1 and 117 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.