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 Me forms

Featured Replies

At first glance creating a "Contact Me" form seems pretty straightforward however when I look at some information on it, it looks like most people create these forms using php. I would have thought you could send the message using the html created form without having to use php because, as far as I know, there is no reason to connect it to the server or to a database. All the form is there to do is take additional details such as Name, email address, the type of query etc, the comments and the send button. So as far as I can see here there shouldn't be any need to connect the form to the server/database and therefore there is no need to use php yet most people do so I was just wondering why that was.

 

Is it because in order to actuall "send" an email using the form php is a must? If it's not a requirement I would probably not use php but as most people use it when creating 'contact me' forms are there any benefits in using php?

php can allow you to send a message using only the form, whereas a html only form is more of a template that uses an email program to send it.

(I'm very tired today so if this isn't right I apologies)

HTML is just a mark up language, to do processing you need to use a programming language like php for example... so html is just a formatting method not a processing method to put it simply

Thanks for your replies. Ok so other than php what other processing languages could be used? How about Javascript?

Javascript is not used to send form data unless u are making an ajax request to pass the form data to a PHP script

  • Author

Javascript is not used to send form data unless u are making an ajax request to pass the form data to a PHP script

I see so other than php what other scripts could be used to send an email via a contact form?

I see so other than php what other scripts could be used to send an email via a contact form?

ASP,Python,Perl but all are programming languages and to me PHP is prob the easiest for u to grasp onto

  • Author

ASP,Python,Perl but all are programming languages and to me PHP is prob the easiest for u to grasp onto

 

That's fantastic thanks very much. I can now move on and get building my contact and membership forms.

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.