Question1: What is difference between div and span
Answer 1:
SPAN: Browser to apply the style rules to whatever is within the
DIV: Includes paragraph break because it is defining a logical division in the document.
Question 2: what is max POST size.
Answer 2: 8M
Question 3: htmlspecialchars convert some special characters to HTML entities which are they.
Answer 3:
‘&’ (ampersand)
‘”‘ (double quote)
”’ (single quote)
‘<’ (less than)
‘>’ (greater than)
Question 4: Default upload max file size of file a file in php.ini?.
Answer 4: 2 M
Question 5: Which is the php config setting for enabling file uploads.
Answer 5: set ‘file_uploads’ to ON
Question 6: Which scope will be defined if you want variable to be available in complete script.
Answer 6: Global
Question 7: which engine in mysql supports full text search?.
Answer 7: MyISAM
Tags: php, php faq, php interview question
June 23, 2011 at 11:13 am
How can you dynamically set and get php.ini file settings?
June 23, 2011 at 11:14 am
Question 20: Can you compare two arrays using == operator?
November 11, 2011 at 6:42 am
Hi Preetam,
2.1) using ini_set
you can compare two arrays using == but only for key and value for key,value and order you have to use ===.