PHP Form Validation HELP
Go to solution
Solved by Cruorzy,
5 minutes ago, Sergio45 said:That's the thing, I am barely getting into PHP and I just need a little push to get me on the right path on the validating with PHP.
JavaScrupt is like HTML, you can edit it and completely change what you want for yourself. It does not affect other but if you ONLY validate stuff with Javascript then somebody will try to edit that and ignore your rules.
So what you do is make a PHP validation for this, since it server-side they cant change anything about it. And you use JavaScript to make it User friendly. for example make the box red if it does not follow your rules.
Things like password hasing etc is the exact same thing, use a Server-Side language for that. Dont do that stuff with Javascript
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now