Showing posts with label Php Interview Questions. Show all posts
Showing posts with label Php Interview Questions. Show all posts

Top PHP Interview Questions with Answers For Job

  What is PHP?     PHP is a server side scripting language  used for web development applications.     Php is the powerful tool for making dynamic website.     Many open source, free and commercial scripts    and   Stuff made by php  What is a data type? A Data type is the classification of data into a category according to its attributes; • Alphanumericcharacters...

PHP INTERFACES

Class inheritanceenables you to describe a parent-child relationshipbetween classes. For example, you might have a base class  Shapefrom which both Squareand Circlederive. However,  you might often want to add additional “interfaces” to classes,  basically meaning additional  contracts to whichthe class must adhere. This is achieved in C++ by using multiple  inheritance and deriving from two classes. PHP chose interfaces  as...

Static Methods-PHP

 PHP supports declaring methods as static. Whatthis means is that your static methods are part of the  class and are not bound to any specific object instance and  its properties. Therefore, $this isn’t accessible in these methods,  but the class itself is by using selfto access it. Because static methods aren’t bound to any specific object, you can  call them without creating an object instance by using the class_name::method()syntax....

configuring PHP-impact security

The primary mechanism for configuring PHP is the php.inifile. As the master file, this provides you with control over all configuration settings. Entries generally take the format:setting= value Be sure to read the comments provided in the file before making changes, though.There are a few tricks, such as include_pathusing a colon (:) as a seperator onUnix, and a semicolon (;) on Windows.Most Web hosts will not provide you access to your php.inifile...

PHP-script-Related Variables

PHP-script Related Variables PHP automatically creates variables for all the data it receives in an HTTP request. This can include GET data, POST data, cookie data, and environment variables. The variables are either in PHP's global symbol table or in one of a number of superglobal arrays, depending on the value of the register_globals setting in your php.ini file. In PHP 4.2.0 and after, the default setting for register_globals...

php tutorial-for beginners

PHP Functions | PHP Interview Questions,PHP tutorial,seo-tips,seo tutorial,N... PHP Sessions | PHP Interview Questions,PHP tutorial,seo-tips,seo tutorial,Ne... Cookies Versus Sessions? | PHP Interview Questions,PHP tutorial,seo-tips,seo... PHP Web-Related Variables | PHP Interview Questions,PHP tutorial,seo-tips,se... MySQL Data on the Web | PHP Interview Questions,PHP tutorial,seo-tips,seo Tu... php and pdf | php Interview...