I have a form and some input field which i mentioned below. I have validate form field using jquery validation and also php validation. As there are some add ons in firefox and chrome browser that web development tools from which we can execute some task on any website form field. For example: If i make a field readonly then using "Make form fields writable" option of web development tools of firefox i can remove readonly property and type anything in that field. That's why i use preg_match() function to validate my required fields.
Also i have added captcha to prevent machine entries. But although i ensure php validation , now i am wondering to see that still i get vulnerable entries. How it possible? I s there any other way to prevent such type of entry i mentioned below? Please give me any idea if anyone have....
ID, Start Date, End Date, Last Name, First Name, Phone, Remarks
I declare in preg_match() function
ID must be numeric
Start date and end date with slash separator
Last Name and First Name must be character
Phone must be numeric
Remarks must be character but it does not support any special character
But this is strange i can see still anyone can post such type of data
Start Date: ???? ?
End Date: ???? ?
Last Name: ???? ?
First Name: ???? ?
Phone: ???? ?
Remarks: <a href=\\"[noparse]http://test.jp[/noparse]/\\">MBT ???? ???</a> ?????? <a href=\\"[noparse]http://testjp[/noparse]/\\" >???? ?</a> ???? ?
How is this possible? I need solution to prevent this type of entry