PHP faqs 9

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

Advertisement

Tags: , ,

3 Responses to “PHP faqs 9”

  1. Preetam Chari Says:

    How can you dynamically set and get php.ini file settings?

  2. Preetam Chari Says:

    Question 20: Can you compare two arrays using == operator?

  3. Nikhil Says:

    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 ===.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.