What is CrazyEngico.com (CE)?

CrazyEngico (CE) is a one-stop solution for interview questions and answers, domain knowledge, e-learning, tutorials, articles and many more learning material.
e-learning - Intelligent e-learning tutorials and articles
Domain Knowledge Learn about various business domains/verticals such as Banking, Financial, Insurance, Healthcare and many more...
Interview Questions and Answers - Post your questions and answers. 1000+ database of ready questions and answers available to prepare for an interview.
Tutorials - 300+ video tutorials from beginner to expert level.
Articles - 300+ technical articles to understand concepts.
Forum - A technical forum to post your queries/responses.

Search Questions

Post Your Question
Interview Questions/Answers


Total PHP questions: 99

Q 1) Where does the PHP session stored, either client side or server side?
Q 2) What is PHP?
Q 3) What is a Session?
Q 4) What is meant by PEAR in PHP?
Q 5) How can we know the number of days between two given dates using PHP?
Q 6) How can we repair a MySQL table?
Q 7) What is the difference between $message and $$message?
Q 8) What is a Persistent Cookie?
Q 9) What does a special set of tags do in PHP?
Q 10) How do you define a constant?
Q 11) How to write the FORM tag correctly for Uploading Files?
Q 12) What are the differences between require and include, include_once?
Q 13) What is meant by urlencode and urldecode?
Q 14) How to get the Uploaded File information in the Receiving Script?
Q 15) What is the difference between mysql_fetch_object and mysql_fetch_array?
Q 16) How can I execute a PHP script using command line?
Q 17) I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
Q 18) 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))?
Q 19) How to create a Table?
Q 20) How can we encrypt the username and password using PHP?
Q 21) How do you pass a variable by value?
Q 22) What is the functionality of the functions STRSTR() and STRISTR()?
Q 23) When are you supposed to use endif to end the conditional statement?
Q 24) How can we send mail using JavaScript?
Q 25) What is the difference between ereg_replace() and eregi_replace()?
Q 26) What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?
Q 27) If the variable $a is equal to 10 and variable $b is equal to character s, what’s the value of $$b?
Q 28) How to protect special characters in Query String?
Q 29) Are objects passed by value or by reference?
Q 30) What are the differences between DROP a table and TRUNCATE a table?
Q 31) 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?
Q 32) How do you call a constructor for a parent class?
Q 33) What are the different types of errors in PHP?
Q 34) What is the special meaning of __sleep and __wakeup?
Q 35) How can we submit a form without a submit button?
Q 36) Would you initialize your strings with single quotes or double quotes?
Q 37) How can we extract string 'abc.com' from a string http://info@abc.com using regular expression of PHP?
Q 38) What is the difference between the functions unlink and unset?
Q 39) How can we register the variables into a session?
Q 40) What is the difference between characters \023 and \x23?
Q 41) With a heredoc syntax, do I get variable substitution inside the heredoc contents?
Q 42) How can we create a database using PHP and mysql?
Q 43) How many ways we can retrieve the date in result set of mysql using php?
Q 44) For printing out strings, there are echo, print and printf. Explain the differences.
Q 45) How can we extract string "abc.com" from a string "mailto:info@abc.com?subject=Feedback" using regular expression of PHP?
Q 46) So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
Q 47) How can we destroy the session, how can we unset the variable of a session?
Q 48) What are the different functions in sorting an array?
Q 49) How can we know the count/number of elements of an array?
Q 50) How many ways we can pass the variable through the navigation between the pages?
Q 51) How many values can the SET function of MySQL take?
Q 52) What are the other commands to know the structure of a table using MySQL commands except EXPLAIN command?
Q 53) How can we find the number of rows in a table using MySQL?
Q 54) What’s the difference between md5(), crc32() and sha1() crypto on PHP?
Q 55) How can we find the number of rows in a result set using PHP?
Q 56) How many ways we can we find the current date using MySQL?
Q 57) Give the syntax of GRANT commands?
Q 58) Give the syntax of REVOKE commands?
Q 59) What is the difference between CHAR and VARCHAR data types?
Q 60) Will comparison of string "10" and integer 11 work in PHP?
Q 61) What is the functionality of MD5 function in PHP?
Q 62) How can I load data from a text file into a table?
Q 63) How can we know the number of days between two given dates using MySQL?
Q 64) How can we change the name of a column of a table?
Q 65) How can we change the data type of a column of a table?
Q 66) What is meant by MIME?
Q 67) How can we know that a session is started or not?
Q 68) What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
Q 69) If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
Q 70) What are the MySQL database files stored in system?
Q 71) What is the difference between PHP4 and PHP5?
Q 72) What is meant by nl2br()?
Q 73) How can we encrypt and decrypt a data presented in a table using MySQL?
Q 74) How can I retrieve values from one database server and store them in other database server using PHP?
Q 75) In how many ways we can retrieve data in the result set of MySQL using PHP?
Q 76) What are the functions for IMAP?
Q 77) What are encryption functions in PHP?
Q 78) What is the difference between htmlentities() and htmlspecialchars()?
Q 79) What is the functionality of the function htmlentities?
Q 80) How can we get the properties (size, type, width, height) of an image using PHP image functions?
Q 81) How can we increase the execution time of a PHP script?
Q 82) How can we take a backup of a MySQL table and how can we restore it?
Q 83) How to set cookies?
Q 84) How to reset/destroy a cookie?
Q 85) What types of images PHP supports?
Q 86) How many ways can we get the value of current session id?
Q 87) How can we destroy the cookie?
Q 88) How can we get second of the current time using date function?
Q 89) What is the maximum size of a file that can be uploaded using PHP and how can we change this?
Q 90) How many ways I can redirect a PHP page?
Q 91) List out different arguments in PHP header function?
Q 92) What type of headers have to be added in the mail function to attach a file?
Q 93) How to store the uploaded file to the final location?
Q 94) What is the difference between Reply-to and Return-path in the headers of a mail function?
Q 95) Explain about Type Juggling in PHP?
Q 96) How to turn on the Session Support?
Q 97) Explain the ternary conditional operator in PHP?
Q 98) What’s the difference between include and require?
Q 99) What is difference between /023 and /X23 in PHP?

Post your question
By clicking on Submit button you agree to the Terms of Service agreement.

Display Name:  
Select Category:  
Post Your Question:  

Copyright © 2017 CrazyEngico.com. All rights reserved.
CrazyEngico.com is not responsible for the content and CrazyEngico.com does not evaluate or guarantee the accuracy of any CrazyEngico.com content.
Please read our terms of service agreement before using this site.