Posts

Showing posts from July, 2014

ubuntu software center install button issue(Solved)

Image
jadhav-infotech.blogspot.in/ The ubuntu issue regarding the not working of install button in software center. This issue occurred  in ubuntu 12.04 LTS and issue is discussed  and solved in askubuntu forum. code:gksudo software-center & exit 1:Paste this code in terminal software-center install worked. http://askubuntu.com/a/99444

Responsive media queries

This Responsive media queries can be used for responsive as it adjust according to total screen resolution.    @media screen and (max-width: 980px) {...} @media screen and (max-width: 650px) {...} @media screen and (max-width: 480px) {...} @media screen and (max-width: 560px) {...}

casting vs is_numeric in php

The casting is to define data type to specific variable in which may be set or going to be set example: $sam = (string)$_POST['name'];  here (string) is the casting type in php.The casting type can be used as sanitizing the varible from sql injection. $val = (int)$_GET['id']; is better then $val = $_GET['id']  ; The is_numeric is function used to validate the integer variable. The casting is faster then is_numeric ,because is_numeric returns boolean (true or false) and its a function where casting returns  numeric value.

list of sanitize function in wordpress

The sanitize php function works with two different function in wordpress they are filter and sanitize email. apply_filters function apply_filters( $tag, $value ) { global $wp_filter, $merged_filters, $wp_current_filter; $args = array(); // Do 'all' actions first if ( isset($wp_filter['all']) ) { $wp_current_filter[] = $tag; $args = func_get_args(); _wp_call_all_hook($args); } if ( !isset($wp_filter[$tag]) ) { if ( isset($wp_filter['all']) ) array_pop($wp_current_filter); return $value; } if ( !isset($wp_filter['all']) ) $wp_current_filter[] = $tag; // Sort if ( !isset( $merged_filters[ $tag ] ) ) { ksort($wp_filter[$tag]); $merged_filters[ $tag ] = true; } reset( $wp_filter[ $tag ] ); if ( empty($args) ) $args = func_get_args(); do { foreach( (array) current($wp_filter[$tag]) as $the_ ) if ( !is_null($the_['function']) ){ $args[1] = $value; $value = call_user_func_array($the_['function'], array_slice($args, 1, (int) $the_[&#

online bootstrap form builder by minikomi

Mr minikomi as build excellent online tool to build bootstrap  form all we have to design and implement the rendered code in html with css and javascript link of bootstrap files. online bootstrap form builder by minikomi To add the bootstrap form builder in codeigniter i have shared the link in bootstrap3 form builder in codeigniter