Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

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

  2. A.

     uniqueid()

    B.

     id()

    C.

     md5()

    D.

     mdid()

    View Answer

    Workspace

    Answer : Option A

    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.


Be The First To Comment