Q14
Which of the following PHP functions can be used for generating unique id’s?
A.
uniqueid()
AnswerB.
id()
C.
md5()
D.
mdid()
Answer: Option A
Solution
Answer: Option A
Solution:
Many people use the md5() function for this, even though it’s not exactly meant for this purpose. uniqueid() is the function that is to be used.