Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following PHP functions can be used for generating unique id’s?

a) id()
b) md5()
c) mdid()
d) uniqueid()

Answer: d
Explanation: 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.

Join The Discussion