Jump to content

mesh2005

Members
  • Posts

    50
  • Joined

  • Last visited

    Never

Posts posted by mesh2005

  1. I have a form where people register and their info (including username and password) is saved in the database. Some of my friends told me to save the hash of the password not the password itself to protect against any hack trial if the hacker got access to the database. Is that effective? If the hacker got access to the database, he cam simply generate the hash of a new password and save it in the database, right?

    And, using the hash makes it not easy to recover the password! How can I give the users the ability to recover passwords?

     

  2. I don't have a root access to change the local timezone of the server, currently it is set to PST and I want to get the time according to the US Central timezone.

    Someone told me that I need to call putenv("TZ=US/Central") before the date function is called but I want to know is there any better idea?

    Thank you

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.