An HTML form is a section of a document containing normal content, markup, special elements called controls and labels on those controls.
5
votes
1answer
182 views
Security of a “contact us” form
I have a form, which uses AJAX to send POST data to the following controller method:
...
6
votes
1answer
720 views
Plugin that conditionally displays elements based on form values
I've just released a jQuery plugin that conditionally displays elements based on form values. I would appreciate any suggestions on how to improve both the code and its usefulness.
Here's the demo ...
4
votes
2answers
412 views
phpMailer script for a contact form
I've just downloaded a script and would like to use it as a contact form on my site. The problem is I'm a front-end dev with little knowledge of securing PHP code. So, could you please have a look and ...
9
votes
1answer
290 views
PHP form review
I saw somewhere on here that it helps reduce spam by adding a dummy input field that you hide with display: none, and like if it's filled out, then it's obviously ...
4
votes
2answers
161 views
Simplifying this form validation script - version 2
A week ago, I have asked how to simplify a form validation. From the answers, the code now is improved. Can anyone please share their opinion on the approach used below and advise me if there is a ...
4
votes
3answers
1k views
OOP PHP form ok?
I am new at OOP and I wonder if the code below is OOP or it can be better and also what can be better?
...
3
votes
2answers
71 views
POST security with PDO?
So I have some code that works as PDO. But is it secure? I'm trying to prevent SQL injection. This is my first PDO script and was hoping to see if it was done correctly. Here it is.
...
3
votes
2answers
295 views
Is this contact form secure?
I have the following contact form, using PHP, JS and a bit of Ajax. I want to make sure that it is secure.
...