The Complete Project Source Code Platform

Kashipara.com is a community of ONE million programmers and students, Just like you, Helping each other.Join them. It only takes a minute: Sign Up

Job Resume Template

hot php Job Interview Questions And Answers


Why don't preparation your interviews. Best and top asking questions php questions and answers. Prepare your job php interview with us. Most frequently asked questions in php interview. Top 10 most common php interview questions and answer to ask. php most popular interview question for fresher and experiences. We have good collection of php job interview questions and answers. Ask interview questions and answers mnc company.employee ,fresher and student. php technical questions asking in interview. Complete placement preparation for major companies tests and php interviews,Aptitude questions and answers, technical, interview tips, practice tests, assessment tests and general knowledge questions and answers.


Free Download php Questions And Answers Pdf.


hot php FAQ php Interview Questions and Answers for Experiences and Freshers.



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

$name is variable where as $$name is reference variable
like $name=sonia and $$name=singh so $sonia value is singh.

php interview question for fresher and experiences. 

php   2013-06-15 06:59:24

How can we submit a form without a submit button?

Java script submit() function is used for submit form without submit button
on click call document.formname.submit()

php interview question answer for fresher and experiences. 

php   2013-06-15 07:00:25

In how many ways we can retrieve the data in the result set of MySQL using PHP?

We can do it by 4 Ways
  1. mysql_fetch_row. , 
  2. mysql_fetch_array , 
  3. mysql_fetch_object
  4. mysql_fetch_assoc

php interview question answer for fresher and experiences. 

php   2013-06-15 07:01:35

What is the difference between mysql_fetch_object and mysql_fetch_array?

mysql_fetch_object() is similar tomysql_fetch_array(), with one difference - an object is returned, instead of an array. Indirectly, that means that you can only access the data by the field names, and not by their offsets (numbers are illegal property names).

php interview question answer for fresher and experiences. 

php   2013-06-15 07:14:50

What are the differences between Get and post methods.

There are some defference between GET and POST method
1. GET Method have some limit like only 2Kb data able to send for request But in POST method unlimited data can we send
2. when we use GET method requested data show in url but Not in POST method so POST method is good for send sensetive request

php interview question answer for fresher and experiences. 

php   2013-06-15 07:16:17

How can we extract string "pcds.co.in " from a string "http://kashipara.in" using regular expression of PHP?

preg_match("/^http:\/\/.+@(.+)$/","http://info@dhaval.co.in",$matches);
echo $matches[1];

php interview question answer for fresher and experiences. 

php   2013-06-15 07:17:57

How can we create a database using PHP and MySQL?

We can create MySQL database with the use of mysql_create_db("Database Name")

php interview question answer for fresher and experiences. 

php   2013-06-15 07:25:32

What are the differences between require and include?

Both include and require used to include a file but when included file not found Include send Warning where as Require send Fatal Error.

php interview question answer for fresher and experiences. 

php   2013-06-15 07:34:16

Can we use include ("xyz.PHP") two times in a PHP page "index.PHP"?

Yes we can use include("xyz.php") more than one time in any page. but it create a problem when xyz.php file contain some functions declaration then error will come for already declared function in this file else not a problem like if you want to show same content two time in page then must include it two time not a problem

php interview question answer for fresher and experiences. 

php   2013-06-15 07:35:37

What is use of header() function in php ?

The header() function sends a raw HTTP header to a client.We can use herder()
function for redirection of pages. It is important to notice that header() must
be called before any actual output is seen..

Best interview question answer php for experiences and fresher

php   2013-06-17 14:06:36

How can I execute a PHP script using command line?

Just run the PHP CLI (Command Line Interface) program and provide the PHP script file name as the command line argument.

Best interview question answer php for experiences and fresher

php   2013-06-17 14:07:11

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

In php.ini file: set short_open_tag=on to make PHP support

Best interview question answer php for experiences and fresher

php   2013-06-17 14:08:10

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

Nothing more we have to do only redirect to the payPal url after submit all information needed by paypal like amount,adresss etc.

Best interview question answer php for experiences and fresher

php   2013-06-17 14:08:57

What are the different tables(Engine) present in MySQL, which one is default?

Following tables (Storage Engine) we can create
1. MyISAM(The default storage engine IN MYSQL Each MyISAM table is stored on
disk in three files. The files have names that begin with the table name and have
an extension to indicate the file type. An .frm file stores the table format. The data
file has an .MYD (MYData) extension. The index file has an .MYI (MYIndex)
extension. )
2. InnoDB(InnoDB is a transaction-safe (ACID compliant) storage engine for
MySQL that has commit, rollback, and crash-recovery capabilities to protect user
data.)
3. Merge
4. Heap (MEMORY)(The MEMORY storage engine creates tables with contents
that are stored in memory. Formerly, these were known as HEAP tables. MEMORY
is the preferred term, although HEAP remains supported for backward
compatibility. )
5. BDB (BerkeleyDB)(Sleepycat Software has provided MySQL with the Berkeley
DB transactional storage engine. This storage engine typically is called BDB for
short. BDB tables may have a greater chance of surviving crashes and are also
capable of COMMIT and ROLLBACK operations on transactions)
6. EXAMPLE
7. FEDERATED (It is a storage engine that accesses data in tables of remote
databases rather than in local tables. )
8. ARCHIVE (The ARCHIVE storage engine is used for storing large amounts of
data without indexes in a very small footprint. )
9. CSV (The CSV storage engine stores data in text files using comma-separated
values format.)
10. BLACKHOLE (The BLACKHOLE storage engine acts as a "black hole" that
accepts data but throws it away and does not store it. Retrievals always return an
empty result)

Best interview question answer php for experiences and fresher

php   2013-06-17 14:05:34

What is meant by nl2br()?

Inserts HTML line breaks (<BR />) before all newlines in a string.

Best interview question answer php for experiences and fresher

php   2013-06-17 14:09:21

What is htaccess? Why do we use this and Where?

.htaccess files are configuration files of Apache Server which provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.

Best interview question answer php for experiences and fresher

php   2013-06-17 14:09:55

How we get IP address of client, previous reference page etc ?

By using $_SERVER['REMOTE_ADDR'],$_SERVER['HTTP_REFERER'] etc.

Best interview question answer php for experiences and fresher

php   2013-06-17 14:10:40

What are the reasons for selecting lamp (Linux, apache, MySQL,PHP) instead of combination of other software programs, servers and operating systems?

All of those are open source resource. Security of Linux is very very more than windows. Apache is a better server that IIS both in functionality and security. MySQL is world most popular open source database. PHP is more faster that asp or any other scripting language.

Best interview question answer php for experiences and fresher

php   2013-06-17 14:11:48

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

AES_ENCRYPT () and AES_DECRYPT ()

Best interview question answer php for experiences and fresher

php   2013-06-17 14:12:26

How can we convert asp pages to PHP pages?

there are lots of tools available for asp to PHP conversion. you can search Google for that. the best one is available at http://asp2php.naken.cc./

best php interview question for fresher and experience. 

php   2013-06-24 15:36:57




hot php questions and answers for experienced


php best Interview Questions have been designed especially to get you acquainted with the nature of questions you may encounter during your interview for the subject of php Programming Language. here some questions that helpful for your interview. php 2024 job interview questions with answers. php for employee and fresher. Here we present some more challenging practice php interview questions and answers that were asked in a real interview for a php developer position. These questions are really good to not just test your php skills, but also your general development knowledge. php programming learning. we hope this php interview questions and answers would be useful for quick glance before going for any php job interview.