PHP Interview Questions

display selected value in dropdown list through javascript without page refresh

how to select single row from table and insert into same table as a new record by using a single
sql query.

what is the difference between mysql_fetch_array() and mysql_fetch_row()?

How can i change the extension name like i have a page which name aboutme.php but i want to
show it aboutme.php3 or aboutme.aspx?

how to include a datepicker in a form using php and mysql

What is Joomla?

i have saved the password in encrypted format in database. now how to retrive the password in
decrypted format.

write the function to fetch a image from mysql databases (datatype blob).

write function of the sentence traversal passing the parameter, e.g input:this is input sentence.
output:sentence input is this.

write code to find the date difference b/w two given date using PHP not MYSQL function?

just explain MYSql ISAM and InnoDB functions. and what is the diffrent between both. and
which is the better in both.

How to download the files using PHP

what are image creating functions in php

How would you impletement download and upload a file in php

How to differentiate isset and empty

How can post form values with out press submit button

how can refresh current page automatically, without press any button and anchor tag.

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

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

How can i send a HTML file to mail account.

I have 10 elements of Array, how can i remove 5 array element, with single function.

What are different ways to redirect from one page to other?

How do you achieve page caching in PHP?

how to convert PHP code in to java code

What is the meaning of curl , which is used while connecting with pay pal? and how it works?

what are the various PHP Script Optimization techniques?

How to connect SMTP server in php. I want to edit that in mantiss bug tracking tool. If anyone
worked on mantiss software or in php, please give answer . I need to modify that in mantiss
software.

how to do connectivity of 2 dbs in PHP script?

What is RSS?How to use it in Program?

how to run PHP in command line?

what is abstrac class? why it is used?

what is interface in php? how it is use?

WHat is the diff. between PHP4 and PHP5?

Which of the following represents the proper way to set a session variable ?

what is magic code ?

does current version of mysql (myisam) supports foreign keys ?

What will replacement of localhost username and password on submission a site

What is the Diff. Between echo() and Print() in PHP?

what is the importence of session.save_path in Php.ini file and wht changes u’ve to made before
using sesssions in ur php program first time?

suppose if u want to pass session value using cookies onlu.. what changes i’ve to made in php.ini
file?

Suppose a variable may passed to other page using any of get,post,session,cookie methods and u
want to retrive that variable value . what is the syntax?

How many ways are there for passing variables between pages in PHP and what are they ?

what will do ceil() and floor() in PHP?

How to Define a Constant in PHP? Is $ symbol necessary?

How many Types of COmments are there in PHP and what are they?

To find out the current year is leap year or not which date() function we’ve to use.Give the
syntax also

!== represents what?

=== represents what?

In How many ways can u represent Not equal?Give Syntax of all ways..

Explain Parsing and Execution in PHP? Where PHP Engine Return errors?

What is the exact Diff. between include_once() and require_once() in PHP?

what is the abbrevation of PHP?

what do you mean by webserver’s document root?

how can we check mail function with ‘127.0.0.1′ (before submitting a site?

is ‘easyphp’ is compelete technology to design a phpmysql site?

what are the basic steps to installation php4+mysql4+phpmyadmin on IIS web server?. How
can we upload a php + mysql Site

How to link one site backend to another site frontend?

What is meant by content management system?

PHP can be used frontend or for backend?

Is PHP serverside scripting language or client side scripting language>

What is indexing how many types?

Which is the Best plateform for PHP?

Is PHP is procedure oriented or object oriented?

What and How possible injection in PHP and mysql?

What is the substitution of submit in PHP?

what is the difference between GET and POST?

What is the use of paypal in the e-commerece website?

what is DDL and DML?

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

How can I embed a java programme in PHP file and what changes have to be done in PHP.ini
file?

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

Explain about Type Juggling in PHP?

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

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

Describe the importance of DABA BASE ABSTRACTION LAYERS in PHP and database
connection?

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

What are the differences between PHP3 and PHP4 versions?

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

List out different arguments in PHP header function?

How many ways I can redirect a PHP page?

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

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

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

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

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

How to use the COM components in PHP?

What is PEAR in PHP?

What is MIME?

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

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?

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

What is the functionality of md5 function in PHP?

What type of inheritance that PHP supports?

What are the advantages and disadvantages of Cascading Style Sheets?

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

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

How can we send mail using JavaScript?

What are the difference between abstract class and interface?

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

List out the predefined classes in PHP?

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

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

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

What is the PHP predefined variable ?

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

What are the different functions in sorting an array?

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

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

How can we destroy the cookie?

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

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

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

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

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

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

How can we get the browser properties using PHP?

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


How can we register the variables into a session?

What is the difference between the functions unlink and unset?

What is meant by urlencode and urldocode?

How can we convert the time zones using PHP?

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

What is the functionality of the function html entities?

How can we convert asp pages to PHP pages?

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

What is the functionality of the function strstr and stristr?

What are the different types of errors in PHP?

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

What is the use of friend function?

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

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

How can we encrypt the username and password using PHP?

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

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

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

Draw the architecture of Zend engine?

What is meant by nl2br()?

how can we configure Paypal, etc.?

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

How can I execute a PHP script using command line?

Name the Functions in IMAP, POP3 AND LDAP?

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)) ?

What are the differences between require and include, include_once?

How can we create a database using PHP and mysql?

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

What is the difference between mysql_fetch_object and mysql_fetch_array?

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

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

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?

Use of Session

What’s diffrence between Get() and Post() Function

What are the Merits and De-Merits of CURL library ?

What are the limitations or drawbacks of PHP ?

Write the code for upload a video file in PHP.How will You Play this in Your Page.?

In PHP how much size data can upload by default?

What is the diffrence between GET,POST and REQUEST Method.

does PHP support foreign key and Rollback?yes or not.if not then why. how will you done these
concept in php?

What is the advantge and disadvantage of mysql_connet() and mysql_pconnect() ? in which
condition will you use mysql_connect() and mysql_pconnect().

Why this language is needed?

How to get the DNS servers of a domain name?

what mode to use when creating dirs with mkdir?

when you will get the message/error “headers already sent”?

How do you run a php script from the command line?

How to find out, how a user visited a particular page?

How can you get, the total size of a certain directory?

Whats the difference between include() and require()?

How do you set the browser timeout?

Without using forms and hidden variables, how to send variables from a PHP script to another
URL using POST method?

Is there a way to encrypt text from php?

Is it possible to connect to a Microsoft Access database without a DSN? If so, how??

Explain about error handling in php?

What is PEAR?

what method is used to get a user’s IP address?

what is this error “Call to unsupported or undefined function mysql_connect();” and when you
will get this?

How can you count number of parameters given in a URL by POST method?

Is it possible to get the screen resolution and like with php?

What does PHP stand for?

Does it possible to compile php with mysql without having mysql sources?

How can you insert javascript in php code?

can we use PGP with PHP?

How do you develop your own PHP extension ?

what method is used to generate a random number?

How can you parse files that were not ending with .php by using Apache?

How do you get the Browser information?

How can you access a COM object from a PHP page?

How to install PHP with –mcrypt and –mhash?

When you will get the error “Cannot add header information”?

How do you format and output a number with leading zero’s?

What types images that php supports?

How can we submit a form without a submit buttom?

What is register_globals in php?

What are the different types of Errors in PHP?

What is the difference between the functions UNLINK and UNSET?

How can we register the variables into a Session?

what are Implode and Explode functions?

0 Response to "PHP Interview Questions"

Post a Comment

Powered by Blogger