PHP Interview - August 21, 2008 at 22:00 pm by Rajmeet Ghai
Answer - PHP (Hyper text Pre Processor) is a scripting language
commonly used for web applications.............
Answer - A PHP session is no different from a normal session.
It can be used to store information on the server for future use.............
Answer - $message is used to store variable data. $$message can
be used to store variable of a variable.............
Answer - Cookies are often used to track user
information.............
What
is the difference between include and require?
Answer - Require () and include () are the same with respect to
handling failures.............
What
is urlencode and urldecode?
Answer - Urlencode can be used to encode a string that can be
used in a url.............
What
are the different types of errors in PHP?
Answer - Different types of errors are............
Explain
how to submit form without a submit button.
Answer - A form data can be posted or submitted without the
button in the following ways:............
What are the
functions for IMAP?
Answer - IMAP is used for communicate with mail servers. It has
a number of functions.............
How
can we increase the execution time of a php script?
Answer - Default time allowed for the PHP scripts to execute is
30s defined in the php.ini file.............
What is Type
juggle in php?
Answer - Type Juggling means dealing with a variable type. In
PHP a variables type............
What
is the difference between mysql_fetch_object and mysql_fetch_array?
Answer - Mysql_fetch_object returns the result from the
database as objects while............
What
is the difference between the functions unlink and unset?
Answer - Unlink is a function for file system handling which
deletes a file.............
What is Joomla in PHP?
Answer - Joomla is an open source content management
system.............
What is zend engine?
Answer - Zend Engine is used internally by PHP as a complier
and runtime engine.............
What
is the difference between Split and Explode?
Answer - Both the functions are used to Split a string.
However, Split is used to split............
What
is the difference between echo and print statement?
Answer - Echo can accept multiple expressions while print
cannot.............
What is CAPTCHA?
Answer - CAPTCHA is a test to determine if the user using the
system............
What
is difference between developing website using Java and PHP?
Answer - In order to make interactive pages, java uses JSP
(Java Server pages).............
How
do you create sub domains using PHP?
Answer - Wild card domains can be used. Sub domains can be
created by first creating............
How to
upload files using PHP?
Answer - Files can be uploaded in PHP by using the tag
type=”file”.............
What
is the difference between Notify URL and Return URL?
Answer - Notify URL and Return URL is used in Paypal Payment
Gateway integration.............
Describe
functions STRSTR() and STRISTR.
Answer - Both the functions are used to find the first
occurrence of a string.............
What
are the various methods to pass data from one web page to another web page?
Answer - Different methods to pass data from one web page to
another:............
|