- This topic is empty.
-
AuthorPosts
-
April 21, 2009 at 7:03 am #24181quickyMember
Hi All,
Probably a stupid question for the proper coders out there but here goes…
Can anyone help, I need to create a Php webform that will send to a My sql database (and send the form into on to the correct person).
I would like a tutorial if possible so I can learn how to do it.
Also if it haves captcha capability that would be cool.If anyone can point me in the correct direction that would be great.
Also a free one if possible please.
April 23, 2009 at 2:50 am #56674ikthiusMemberlet me get this straight…..
1 you need a ccontact form
2 you want php to run it
3 you want to store email addresses in a database
4 you want to have the form email a specific person within the sites businesss?
4 have a captcha
5 drop down the target email addressesif i was doing that i would:
1 make the contact form in html with a hidden field and a captcha entry field (to stop spam)
2 in the php get thte target email to send to
3 make sure the captcha is the same as entered in the html form
4 save the things you want to save to the database
5 send the email out.about the tutorial you may have to view a few to get exactly what you want, I will look for some later as I am going to work now.
April 24, 2009 at 3:46 am #56713quickyMemberCheers ikthius,
I have looked at some of the ones that come with things like dreamweaverbut they alway create tonnes of unnecessary files.
The existing form I have seems to have a bug in the code as it does not like firefox so that was another reson for the change.Then again my coding is pretty poor hence the tutorial approach.
Thanks for the help and comments
April 24, 2009 at 2:08 pm #56722ikthiusMemberquicky,
lets try this a stage at a time.
can you code your HTML?
if so then make your form. Have a select option and populate that with:
Select Email:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]whatever is selected will get sent to that person.
add a captcha and a hidden field for to catch spam.
when that is done, post your code here. remember to use the [_code] [_/code] tags witout _
when we get that to what we want we can make the contact script.
then think about getting the emails to be stored.
April 27, 2009 at 8:24 am #56802lyleyboyMemberI think your best bet would be nice site I use almost as a code repository.
November 12, 2010 at 5:11 am #76152PratasMemberyou can read php forms tutorial http://phpforms.net/tutorial/html-basics/php-forms.html or use their software
-
AuthorPosts
- The forum ‘Back End’ is closed to new topics and replies.