logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Explain how to create random passwords.


  • Correct Answer
  • Generating random passwords in PHP can be done in multiple ways depending on how much security the application demands:- Md5 function can be passed one parameter as uniqid() function which in turn generates a random number Passing the parameter as TRUE in uniqid() adds additional uniqueness  


  • Technology problems


    Search Results


    • 1. Explain how to store the uploaded file to the final location.
    • Discuss
    • 2. Explain how to send large amounts of emails with php.
    • Discuss
    • 3. Explain Superglobal variables in PHP .
    • Discuss
    • 4. Explain how to work with Permissions in PHP.
    • Discuss
    • 5. What is the difference between $argv and $argc? Give example?
    • Discuss
    • 6. What type of inheritance that PHP supports? Provide an example.
    • Discuss
    • 7. Explain when to use GET or POST. Provide example for both the ways.
    • Discuss
    • 8. How to set cookies in PHP?
    • Discuss
    • 9. What Is a Session in PHP?
    • Discuss
    • 10. How can we encrypt the username and password using PHP?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment