Smart Test Guru Smart Test Guru Smart Test Guru
  ASP.net
  ASP
  MS SQL Server
  PHP
  APTITUDE
  VB.net
  Java
  Oracle Database
  ITIL
  ASP.net
  ASP
  MS SQL Server
  PHP
  VB.net
  Java
  Unix Commands
Smart Test Guru Home      ||    Testimonials    ||    Feedback     ||    Contact us     ||    Login      ||    Share
 PHP Interview Questions
 
What are the differences between require and include, include_once?

require_once() and include_once() are both the functions to include and evaluate the specified file only once. If the specified file is included previous to the present call occurrence, it will not be done again.

But require() and include() will do it as many times they are asked to do.

Where Are PHP Configuration Settings Stored?

PHP stores configuration settings in a file called php.ini in PHP home directory. You can open it with any text editor to your settings.

What exactly is validating and sanitizing?

Validating and sanitizing are two different kinds of filters
Validating filters: - These filters are used to validate user sent information (input). Strict rules are applied for formatting such as URL or Email validating. It also sends the success type for a particular operation whether false or true.
Sanitizing filters: - These filters are used to allow or disallow specific characters present in a string. There are no restrictions on data format rules. This filter always returns the string.

How do you capture audio/video in PHP?

FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. FFmpeg is developed under Linux, but it can compiled under most operating systems, including Windows.

What are the different filter functions used to filter a variable?

T filter a variable these are the following different functions used they are: -
1) Filter_var()
2) Filter_var_array()
3) Filter_input
4) Filter_input_array

1 of 10
Smart Test Guru
 
 
 
© Smart Test Guru . All Rights Registered 2008 - 2015