Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Contact Us Form Code - Tutorial

Featured Replies

Does anyone know of a tutorial link on how to code a contact us form with captcha or something like that? A secure and great open source code maybe?

 

 

Hey,

 

There are many examples for contact us form.I think you can get help from the following

links.

 

http://www.weberdev.com/get_example-4936.html

 

 

http://ostermiller.org/contactform/example_three_addresses.pl

 

 

 

Best of luck :good:

 

 

Cheers

webdesign_tgl

Thank you. I'm assuming that a contact form is only possible on a php page and not on a plain html page? Sorry, I'm a new learner.

 

 

Yes.

 

There are so many security issues with web forms and spambots that it's often better to use a script that has security features built in, like

http://www.emailmeform.com/ (free)

http://www.formmail.com/

http://www.email-form.com/

You can create a form on a HTML/CSS page and have the information pulled from that form by a mail() script which as you know has to be a PHP form.

 

The way I have insured robots don't get to deep I have put a simple 'Whats 1 + 4?' equation at the start of my script. If the users doesn't enter the correct answer the form will fail :)

The actual form can be on anything (HTML/PHP/ASP/whatever), but you need something to process the form - this is where something like a PHP or CGI script comes in.

 

Do a search on this forum or in Google for "PHP contact form tutorial" there are loads of examples.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.