Daily new learning

5th Feb 2012

BlogSpot customization, contact form, page, post edit, keyword taxonomy

18 comments:

  1. Some module won't allow other module to installed, because it has function of header and footer to occupy area of other module to work.

    I learned this to install Google map module to Contact form module.

    ReplyDelete
    Replies
    1. There are many other contact form module for open source software. However most of good quality modules are commercial version which is paid version. There are still good free software but it take look around find good one like finding Gold in the small mine area.

      Delete
    2. Bugizilia is software testing tool. it covers many project.

      Delete
  2. difference between buffer and cashe. one is for holding and other is for storing

    ReplyDelete
  3. Instead of selecting Youtube each by each. It can be select from the my Youtube list.

    ReplyDelete
  4. Replies
    1. What is PHP filter? It's sort of used for validate and filter data comin from insecure source, like user input. It sound like protecting from bad users.

      To test, (yay, Software tester!!!) Validate and filter user input or custom data is an important par of any web application. * I many quite lof of number of web site, validate is very important to keep the website in safe state.

      So, what Do I need to use PHP filter? Yes, The PHP filter extension is desgined to make data filtering easier and quicker.


      Why we are using this stuff? because it can be sure your client appliation get the correct input type.

      input filtering = most important application security issues.

      Delete
    2. Q. what is the external data?

      input data from a form
      cookies
      web services data
      server variables
      database quiery result.

      Delete
    3. Q. what is the functions and filters to fileter a variables,


      unctions and Filters

      To filter a variable, use one of the following filter functions:

      filter_var() - Filters a single variable with a specified filter
      filter_var_array() - Filter several variables with the same or different filters
      filter_input - Get one input variable and filter it
      filter_input_array - Get several input variables and filter them with the same or different filters

      Delete
    4. php
      $int = 123;

      if(!filter_var($int, FILTER_VALIDATE_INT))
      {
      echo("Integer is not valid");
      }
      else
      {
      echo("Integer is valid");
      }

      Delete
    5. This blog won't allow the source code to write it down...

      Delete
    6. filter_var()
      filter_var($int,FILER_VALIDATE_INT)

      filter_var(123,FILTER_VALIDAT_INT)

      Delete
    7. The code above uses the "FILTER_VALIDATE_INT" filter to filter the variable. Since the integer is valid, the output of the code above will be: "Integer is valid".

      If we try with a variable that is not an integer (like "123abc"), the output will be: "Integer is not valid".

      Delete
  5. Reference: http://www.w3schools.com/php/php_filter.asp

    ReplyDelete
  6. English Grammar

    Intranstive verb, linking verb

    ReplyDelete