jquery - PHP: Need advice on form validation on a server with PHP v5.1.3 -


i'm trying learn how server-side validation on web form using php. have client-side validation working through jquery. during studies read native validation filters added php v5.2 of grunt work form validation. unfortunately, learned office server running php v5.1.3. ouch! make long story short, can not upgrade php version. end of discussion.

as newbie of this, are there other readily available functions out there me validate form input data older versions of php of job? read html_quickform2, have form built in html5 (using polyfill older browsers ie8 validate html5 forms).

again, new , looking nudged right direction can form validated possible.

as starter, suggest html5 -- default, have (very) basic validation field types (email, tel, date...).

next, php's preg_match; match inputs strings. first step start reading few articles on php validation. here's introductory article on subject. source, requires time , effort, go straight source @ php.net.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -