Question regarding form validation
I know that JavaScript client side form validation is not recommended because people may disable their JavaScript.
Now I have done my form validation with JavaScript but the JavaScript calls are embedded in a php page (or php source file).
Since php files are run on the server side, can I assume that my JavaScript validations (which are part of a php file) will be done on the server side as well, and therefore are secure? In other words are JavaScript calls invoked from php files run on the server side since php files are run on the server side?
This question may be evident for many of you, but I am new at web development and would appreciate some clarification on this.
Thanks.