Priti's Technical Corner

October 10, 2008

PHP Interview Questions

Filed under: PHP, Zend PHP 5.3 — Tags: , , , — pritisolanki @ 11:26 am

Questions : which mysql data type you use for storing images.
Answers: BLOB (Images are stored as binary in mysql).

Question:How you will decrypt the password using md5();
Answer:You cann’y decrypt using md5 function because it is 1-way encryption algorithm.

Question:Name other1-way encryption algorithm.
Answer:SHA

Question:list types of joins in mysql.
Answer:Inner join,Left outer join and right outer join.

Question:What is difference between mysql_connect and mysql_pconnect.
Answer:
mysql_connect : The connection object is created on every request and destroyed once the request is completed.
mysql_pconnect: pconnect stands for persistence connection. i.e when the connection object is release it is not destroyed rather it is kept in pool for other request to use.

Advertisements

1 Comment »

  1. Good questions for PHP interview.
    I would encourage you to post more and more questions so that job aspirants like me will get benefitted.

    Comment by Shashi kanth — November 17, 2008 @ 2:36 pm


RSS feed for comments on this post. TrackBack URI

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 )

Google+ photo

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

Connecting to %s

Create a free website or blog at WordPress.com.