How can we implement jquery validation without jquery validator [closed]
without use of jquery.validate.js validate email in php
You could use a regular expression. Pick one from here which validates email and apply it to the user input to test whether it matches. In PHP you could use the preg_match function.
You can't...you can't not-include code and get all the advantages of it, you have to have code that does the job somewhere, this goes for any language. There are alternatives for sure, none nearly as mature/supported, but you're welcome to try them, for example here's another popular validation plugin.
If you want just the validation you're after for a specific check, see how it's done inside the plguin and replicate that in PHP, whether it be length, min/max, regex, etc.
精彩评论