Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

search topic

Tuesday, May 13, 2008

PHP Interview Questions - 3

I. How can we send mail using JavaScript?

II. How can we repair a MySQL table?

III. What are the advantages of stored procedures, triggers, indexes?

IV. What is the maximum length of a table name, database name, and fieldname in MySQL?

V. How many values can the SET function of MySQL take?

VI. What are the other commands to know the structure of table using MySQL commands except explain command?

VII. How many tables will create when we create table, what are they?

VIII. What is the purpose of the following files having extensions 1) .frm 2) .myd 3) .myi? What do these files contain?

IX. What is maximum size of a database in MySQL?

X. Give the syntax of Grant and Revoke commands?

XI. What is Normalization?

XII. Suppose your Zend engine supports the mode Then how can u configure your PHP Zend engine to support mode ?

XIII. Shopping cart online validation i.e. how can we configure Paypal, etc.?

XIV. What is meant by nl2br()?

XV. Draw the architecture of Zend engine?

XVI. What are the current versions of apache, PHP, and mysql?

XVII. What are the reasons for selecting lamp (linux, apache, mysql, PHP) instead of combination of other software programmes, servers and operating systems?

XVIII. How can we encrypt and decrypt a data present in a mysql table using mysql?

XIX. How can we encrypt the username and password using PHP?

XX. What are the features and advantages of object-oriented programming?

XXI. What are the differences between procedure-oriented languages and object-oriented languages?

XXII. What is the use of friend function?

XXIII. What are the differences between public, private, protected, static, transient, final and volatile?

XXIV. How can we increase the execution time of a PHP script?

XXV. How can we take a backup of a mysql table and how can we restore it. ?

XXVI. How can we optimize or increase the speed of a mysql select query?

XXVII. How many ways can we get the value of current session id?

XXVIII. How can we destroy the session, how can we unset the variable of a session?

XXIX. How can we destroy the cookie?

XXX. How many ways we can pass the variable through the navigation between the pages?

XXXI. What is the difference between ereg_replace() and eregi_replace()?

XXXII. What are the different functions in sorting an array?

XXXIII. How can we know the count/number of elements of an array?

XXXIV. What is the PHP predefined variable that tells the What types of images that PHP supports?

XXXV. How can I know that a variable is a number or not using a JavaScript?

XXXVI. List out some tools through which we can draw E-R diagrams for mysql.

XXXVII. How can I retrieve values from one database server and store them in other database server using PHP?

XXXVIII. List out the predefined classes in PHP?

XXXIX. How can I make a script that can be bilanguage (supports English, German)?

XL. What are the difference between abstract class and interface?

XLI. How can we find the number of rows in a table using MySQL?

XLII. How can we find the number of rows in a result set using PHP?

XLIII. How many ways we can we find the current date using MySQL?

XLIV. What are the advantages and disadvantages of Cascading Style Sheets?

XLV. What type of inheritance that PHP supports?

XLVI. How can increase the performance of MySQL select query?

XLVII. What are the advantages/disadvantages of MySQL and PHP?

XLVIII. What is the difference between GROUP BY and ORDER BY in Sql?

XLIX. What is the difference between char and varchar data types?

L. What is the functionality of md5 function in PHP?

LI. How can I load data from a text file into a table?

LII. How can we know the number of days between two given dates using MySQL?

LIII. How can we know the number of days between two given dates using PHP?

LIV. How can we change the name of a column of a table?

LV. How can we change the name and data type of a column of a table?

LVI. What are the differences between drop a table and truncate a table?

LVII. When you want to show some part of a text displayed on an HTML page in red font color, what different possibilities are there to do this? What are the advantages/disadvantages of these methods?

LVIII. When viewing an HTML page in a Browser, the Browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?

LIX. What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?

LX. An Apache web server is running on a Linux system. Suddenly, the web server delivers the pages very slow. How could you find out possible reasons for that (when using system commands, please specify their names)?

LXI. What are the different ways to login to a remote server? Explain the means, advantages and disadvantages?

LXII. A select query over a large table runs very slow because of the growing number of entries in that table. What different measures could be taken to improve speed?

LXIII. What is MIME?

LXIV. What is PEAR in PHP?

LXV. How can I use the COM components in PHP?

LXVI. How can I load the DLLs dynamically?

LXVII. How many ways we can give the output to a browser?

LXVIII. How can we know that a session is started or not?

LXIX. What is the default session time in PHP and how can I change it?

LXX. What changes I have to done in PHP.ini file for file uploading?

LXXI. What are the differences between MySQL_fetch_array(), MySQL_fetch_object(), MySQL_fetch_row()?

LXXII. How can I set a cron and how can i execute it in Unix, Linux, and windows?

LXXIII. Steps for the payment gateway processing?

LXXIV. How many ways I can register the variables into session?

LXXV. Explain different types of errors in PHP (i.e. arguments in errorreporting function)?

LXXVI. How many ways I can redirect a PHP page?

LXXVII. List out different arguments in PHP header function?

LXXVIII. What type of headers have to add in the mail function in which file a attached?

LXXIX. What is the difference between

LXXX. What are the differences between include() and include_once() functions?

LXXXI. Describe the importance of database abstraction layers in PHP and database connection?

LXXXII. Explain MySQL optimization?

LXXXIII. What is the difference between using copy() and move() function in PHP file uploading?

LXXXIV. What is the difference between Reply-to and Return-path in the headers of a mail function?

LXXXV. Explain about Type Juggling in PHP?

LXXXVI. How can I get the only name of the current executing file?

LXXXVII. How can I embed a Java program in PHP file and what changes have to be done in PHP.ini file?

LXXXVIII. How can I find what type of images that the PHP version supports?

LXXXIX. What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

XC. Who is the father of PHP and explain the changes in PHP versions?

XCI. How can we submit a form without a submit button?

XCII. In how many ways we can retrieve the date in the result set of mysql using PHP?

XCIII. What is the difference between mysql_fetch_object and mysql_fetch_array?

XCIV. What is the difference between $message and $$message?

XCV. How can we extract string ‘techinterviews.com ‘ from a string ‘http://www.techinterviews.com’ using regular expression of PHP?

XCVI. How can we create a database using PHP and mysql?

XCVII. What are the differences between require and include, include_once?

XCVIII. Can we use include (”techinterviews.php”) two times in a PHP page “makeit.PHP”?

XCIX. What are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee(eno int(2),ename varchar(10)) ?

C. Functions in IMAP, POP3 AND LDAP?

CI. How can I execute a PHP script using command line?

CII. What are the different types of errors in PHP?

CIII. What is the functionality of the function strstr and stristr?

CIV. What are the differences between PHP 3 and PHP 4 and PHP 5?

CV. How can we convert asp pages to PHP pages?

CVI. What is the functionality of the function htmlentities?

CVII. How can we get second of the current time using date function?

CVIII. How can we convert the time zones using PHP?

CIX. What is meant by urlencode and urldocode?

CX. What is the difference between the functions unlink and unset?

CXI. How can we register the variables into a session?

CXII. How can we get the properties (size, type, width, height) of an image using PHP image functions?

CXIII. How can we get the browser properties using PHP?

CXIV. What is the maximum size of a file that can be uploaded using PHP and how can we change this?


Note: Above interview questions are same if your are looking for PHP Interview, PHP Interview Question, PHP Interview Questions and PHP Questions.

No comments: