Blog Archives

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

Defining php5.4 by rasmus lerdorf


Older PHP what was he thinking? case insensitive function names naming inconsistencies? whats with the $ signs? registe_globals? magic_quotes? performance: mod_php shared -nothing perfect sandbox model robustness: sql LIMIT clause promote perfork shared nothing model security: max_execution_time memory_limit safe mode

Tagged with: , , , , , , ,
Posted in php

Install PHP 5.4 in Mac


Tagged with: , , , ,
Posted in php
Follow Tutorial on WordPress.com
categories
Calendar
May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
Follow me on Twitter
Blog Stats
  • 88,191 hits