December 16, 201312 yr 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?
December 16, 201312 yr 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)
December 16, 201312 yr 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
December 16, 201312 yr Author Thanks for your replies. Ok so other than php what other processing languages could be used? How about Javascript?
December 16, 201312 yr 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
December 16, 201312 yr 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?
December 16, 201312 yr 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
December 16, 201312 yr 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