674
PHP Interview Questions
- 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?
- Who is the father of PHP and explain the changes in PHP versions?
- How can we submit a form without a submit button?
- In how many ways we can retrieve the date in the result set of mysql using PHP?
- What is the difference between mysql_fetch_object and mysql_fetch_array?
- What is the difference between $message and $$message?
- How can we extract string ‘abc.com ‘ from a string ‘http://[email protected]’ using regular expression of PHP?
- How can we create a database using PHP and mysql?
- What are the differences between require and include, include_once?
- Can we use include (”abc.PHP”) two times in a PHP page “makeit.PHP”?
- 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)) ?
- Functions in IMAP, POP3 AND LDAP?
- How can I execute a PHP script using command line?
- Suppose your Zend engine supports the mode <? ?> Then how can u configure your PHP Zend engine to support <?PHP ?> mode ?
- Shopping cart online validation i.e. how can we configure Paypal, etc.?
- What is meant by nl2br()?
- Draw the architecture of Zend engine?
- What are the current versions of apache, PHP, and mysql?
- What are the reasons for selecting lamp (linux, apache, mysql, PHP) instead of combination of other software programmes, servers and operating systems?
- How can we encrypt and decrypt a data present in a mysql table using mysql?
- How can we encrypt the username and password using PHP?
- What are the features and advantages of object-oriented programming?
- What are the differences between procedure-oriented languages and object-oriented languages?
- What is the use of friend function?
- What are the differences between public, private, protected, static, transient, final and volatile?
- What are the different types of errors in PHP?
- What is the functionality of the function strstr and stristr?
- What are the differences between PHP 3 and PHP 4 and PHP 5?
- How can we convert asp pages to PHP pages?
- What is the functionality of the function htmlentities?
- How can we get second of the current time using date function?
- How can we convert the time zones using PHP?
- What is meant by urlencode and urldocode?
- What is the difference between the functions unlink and unset?
- How can we register the variables into a session?
- How can we get the properties (size, type, width, height) of an image using PHP image functions?
- How can we get the browser properties using PHP?
- What is the maximum size of a file that can be uploaded using PHP and how can we change this?
- How can we increase the execution time of a PHP script?
- How can we take a backup of a mysql table and how can we restore it. ?
- How can we optimize or increase the speed of a mysql select query?
- How many ways can we get the value of current session id?
- How can we destroy the session, how can we unset the variable of a session?
- How can we destroy the cookie?
- How many ways we can pass the variable through the navigation between the pages?
- What is the difference between ereg_replace() and eregi_replace()?
- What are the different functions in sorting an array?
- How can we know the count/number of elements of an array?
- What is the PHP predefined variable that tells the What types of images that PHP supports?
- How can I know that a variable is a number or not using a JavaScript?
- List out some tools through which we can draw E-R diagrams for mysql.
- How can I retrieve values from one database server and store them in other database server using PHP?
- List out the predefined classes in PHP?
- How can I make a script that can be bilanguage (supports English, German)?
- What are the difference between abstract class and interface?
- How can we send mail using JavaScript?