I just semi-launched my website but am looking to improve it. Can you guys roast it?
I would appreciate any feedback and tips!
I just semi-launched my website but am looking to improve it. Can you guys roast it?
I would appreciate any feedback and tips!
I try to submit enquiry on your contact us form where I can write anything on Name and number even Email It submit the form. Here are some steps you can take to address this issue:
Client-Side Validation:
Ensure that there is client-side validation in place using JavaScript. This will help in providing immediate feedback to users if they try to submit invalid data. However, remember that client-side validation is not sufficient by itself and can be bypassed.
Server-Side Validation:
Always perform server-side validation to ensure that the submitted data is valid and meets your criteria. Never rely solely on client-side validation, as it can be bypassed.
Input Validation:
Validate the input on both the client and server sides. Check for the type of data expected (text, numbers, email, etc.) and ensure that it conforms to the expected format.
Escape User Input:
Make sure to escape any user input that is displayed on the page to prevent potential Cross-Site Scripting (XSS) attacks. This is especially important for data that is output in HTML.
Implement Captcha:
To prevent automated form submissions, consider implementing a captcha or reCAPTCHA. This can help ensure that the form is being submitted by a human and not by a bot.
Use Prepared Statements:
If your form involves database interactions, make sure to use prepared statements to prevent SQL injection attacks.
Also, year is still 2023 not 2024. We have 2 days to go ;)