Blog Archives

My new experience with jquery


Disable the all  input fields with unique (ID) like numbers  in table : $(“#table_id  input[type=’text’][id=” + id + “]”).prop({ disabled: true }); Disable the all  Select fields with unique (ID)  like numbers in table : $(“select[id=” + id + “]”).prop({

Tagged with: , , , , , , , ,
Posted in javascript and jquery

prevent sql injecton using filter in php


Filter or Validate email in the form to prevent sql injection: filter_input(INPUT_POST, ‘EMAIL’, FILTER_VALIDATE_EMAIL) Filter or Validate number and integer in the form to prevent sql injection: filter_input(INPUT_POST, ‘age’, FILTER_VALIDATE_INT) Filter or Validate url to prevent sql injection: filter_input(INPUT_COOKIE, ‘url’,

Tagged with: , , , , , , , , , , , ,
Posted in php
Follow php tutorial on WordPress.com
categories
Calendar
July 2017
M T W T F S S
« Sep    
 12
3456789
10111213141516
17181920212223
24252627282930
31  
Follow me on Twitter
Blog Stats
  • 74,622 hits