|
|
PHP interview questions
Q57:How can we repair a MySQL table?
Q58:What are the advantages of stored procedures, triggers, indexes?
Q59:What is the maximum length of a table name, database name, and
fieldname in MySQL?
Q60:How many values can the SET function of MySQL take?
Q61:What are the other commands to know the structure of table using
MySQL commands except explain command?
Q62:How many tables will create when we create table, what are they?
Q63:What is the purpose of the following files having extensions 1) .frm
2) .myd 3) .myi? What do these files contain?
Q64:What is maximum size of a database in MySQL?
Give the syntax of Grant and Revoke commands?
Q65:Explain Normalization concept?
Q66:How can we find the number of rows in a table using MySQL?
Q67:How can we find the number of rows in a result set using PHP?
Q68:How many ways we can we find the current date using MySQL?
Q69:What are the advantages and disadvantages of Cascading Style Sheets?
Q70:What type of inheritance that PHP supports?
Q71:How can increase the performance of MySQL select query?
Q72:What are the advantages/disadvantages of MySQL and PHP?
Q73:What is the difference between GROUP BY and ORDER BY in Sql?
Q74:What is the difference between char and varchar data types?
Q75:What is the functionality of md5 function in PHP?
Q76:How can I load data from a text file into a table?
Q77:How can we know the number of days between two given dates using
MySQL?
Q78:How can we know the number of days between two given dates using PHP?
Q79:How can we change the name of a column of a table?
Q80:How can we change the name and data type of a column of a table?
Q81:What are the differences between drop a table and truncate a table?
Q82: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?
Q83:What are the advantages/disadvantages of these methods?
Q84:When viewing an HTML page in a Browser, the Browser often keeps this
page in its cache.
Q85:What can be possible advantages/disadvantages of page caching? How
can you prevent caching of a certain page (please give several alternate
solutions)?
Q86:What are the different methods of passing data or information between
two calls of a web page?
Q87:What are the advantages/disadvantages of these methods?
Q88: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)?
Q89:What are the different ways to login to a remote server? Explain the
means, advantages and disadvantages?
Q90:Please give a regular expression (preferably Perl/PREG style), which
can be used to identify the URL from within a HTML link tag. Example: The
regular expression should match the tag <A HREF=”http://www.yoursite.com/”> and
give the URL (”http://www.yoursite.com /”) as a return result. Tags should also
be matched if they contain other attributes than the HREF attribute.
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?
Q91:A company wants to store their invoices in a database. They already
have their customers and articles in that database. Both customer and article
are each identified by an unique integer value. Please create the SQL statements
for creating the necessary table(s) for storing the invoices in a MySQL
database. An invoice should hold information like invoice number, customer,
date, article(s) and quantity etc.
For the database from the previous question, please give an SQL query which
returns the invoice number of all invoices which contain the article with the
number “1234″. The query should be able to run under a MySQL 4.0 database.
Q92:How would you backup and restore a big MySQL database? What are the
advantages of the approach which you have taken over the others?
Create a PHP web script with the following attributes: on start, three HTML form
elements are shown: an string input field, a checkbox field, a dropdown/pull
down list with 5 elements and a submit button. On submission, the form should be
redisplayed (while remaining all options/inputs as the user has selected/entered
them). Additionally, the selections/inputs of the user should be displayed in
text. Please solve this without the use of any external libraries.
Q93:What is MIME?
Q94:What is PEAR in PHP?
Q95:How can I use the COM components in PHP?
Q96:How can I load the DLLs dynamically?
Q97:How many ways we can give the output to a browser?
Q98:How can we know that a session is started or not?
Q99:What is the default session time in PHP and how can I change it?
Q100:What changes I have to done in PHP.ini file for file uploading?
Q101:What are the differences between MySQL_fetch_array(),
MySQL_fetch_object(), MySQL_fetch_row()?
Q102:How can I set a cron and how can i execute it in Unix, Linux, and
windows?
Q103:Steps for the payment gateway processing?
Q104:How many ways I can register the variables into session?
Q105:Explain different types of errors in PHP (i.e. arguments in
errorreporting function)?
Q106:How many ways I can redirect a PHP page?
Q107:List out different arguments in PHP header function?
Q108:What type of headers have to add in the mail function in which file
a attached?
Q109:What is the difference between
Q110:What are the differences between PHP3 and PHP4 versions?
Q111:What are the differences between include() and include_once()
functions?
Q112:Describe the importance of DABA BASE ABSTRACTION LAYERS in PHP and
database connection?
Q113:Explain MySQL optimization?
Q114:What is the difference between using copy() and move() function in
PHP file uploading?
Q115:What is the difference between Reply-to and Return-path in the
headers of a mail function?
Q116:Explain about Type Juggling in PHP?
Q117:How can I get the only name of the current executing file?
Q118:How can I embed a java programme in PHP file and what changes have
to be done in PHP.ini file?
Q119:How can I find what type of images that the PHP version supports?
Q120:The table tbl_sites contains the following data:
More>>
|
|
Interview Questions And Answers
Struts interview questions and
answers (Subjective)
500 Java Objective Questions and Answer
Core Java Objective Questions And Answers
Core Java Subjective Questions And Answers
Core Java Interview Questions And Answers
Core Java Interview Questions and Answers (Subjective)
Core Java Interview Questions and Answers( Objective)
50 Servlet interview questions
155 Java Interview Questions
EJB Interview Questions and Answers(Subjective)
R4R,JSP Interview Questions and Answer(Subjective)
R4R,Java Servlets Interview Questions and Answers(Subjective)
Core Java
Subjective ,Objective and Interview Questions And Answers
275 Core java interview
questions
Java Objective Questions and
Answer
Java Architect Interview
Questions
Applet Interview Questions
and Answers
Core Java example
Servlet Objective Questions And Answers
Servlet Subjective Questions And Answers
Servlet Interview Questions And Answers
JSP Objective Questions And Answers
JSP Subjective Questions And Answers
JSP Interview Questions And Answers
|