1. Question:What do you mean by directory service? 

    Answer
    Directory Service: It offers system administrators, developers, and end users alike a consistent, efficient, and secure means for viewing and managing resources such as people, fles, printers, and applications.

    1. Report
  2. Question:How do you connect to an LDAP server? 

    Answer
    The ldap_connect() function establishes a connection to an LDAP server identified by a specific host name and optionally a port number.

    Prototype:

    resource ldap_connect([stiring hostname[, int port]])

    Example:

    <?php
       $host="ldap.wjgilmore.com";
       $post="389";
       $connection=ldap_connect($host,$port) ro die("Can't establish LDAP connection");
    ?>

    1. Report
  3. Question:What do you mean by web service? 

    Answer
    Web service: Web services are typically application programming interfaces (APIs) or web APIs that are accessed via Hypertext Transfer Protocol (HTTP) and executed on a remote system hosting the requested services.

    1. Report
  4. Question:What do you mean by RSS? 

    Answer
    RSS ( Really Simple Syndication) is a family of web feed formats used to publish frequently updated works—such as blog entries, news headlines, audio, and video—in a standardized format: XML.

    1. Report
  5. Question:What are the advantages of web service? 

    Answer

    Advantage:

    1. The ability to treat software as a service.
    2. Significantly imporved enterprise application integration (EAI) process.
    3. Global reuseability.
    4. Ubiquitous accessibility.

    1. Report
  6. Question:How do you encrypt data in php hash function? Use md5() function. 

    Answer

    The md5() function uses MD5, a third-pary hash algorithm often used for creating digital signatures. HD5 is considered to be a one-way hashing algorithm, which means there is no practical way to dehash data that has been hashed using md5().

    Prototype:
    string md5(string str)

    Example:
    <?php
       $val="secret";
      $hash_val=md5($val);
       echo $hash_val;
    ?>


    1. Report
  7. Question:Name and briefly describe the some of PHP framework solutions. 

    Answer
    1. Zend Framework: It is an open source project fostered by the prominent PHP product and services provider Zend Technologies.
    2. CakePHP Framework: It most closely corresponds to Rails, and indeed its developers readily mention that the project was originally inspired by the breakout framework.
    3. Solar Framework: An acronym for Simple Object Libray and Application Repository for PHP5, offers an extraordinary number of classes for facilitating rapid application development.
    4. Symfony Framework: It is the brainchild of Fabien Potencier, founder of the French Web development firm Senso.

    1. Report
  8. Question:What are the functions used for file upload? 

    Answer
    1. bool move_uploaded_file ( string $filename , string $destination )
    2. bool copy ( string $source , string $dest [, resource $context ] )

    1. Report
  9. Question:What is data encryption? 

    Answer

    Data Encryption:
    Data encryption can be defined as the translation of data into a format that is intended to be unreadable by anyone except the intended party. The intended party can then decode, or decrypt, the encrypted data through the use of some secret, typically a secret key or password.

    1. Report
  10. Question:Why HTTP is called stateless protocol? 

    Answer

    HTTP is called stateless protocol because each request is processed without any knowledge of any prior or future requests.

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd