Jump to content

Stielle

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Stielle

  1. If it is always returning 'Success', then check the return value of the comparison. That function is always returning something (-1, 0, 1, etc). In your if statement, you are checking to see if anything was returned. This will always pass. If you stayed with that function, you would need to check to see if it is 0:   if(strcmp($Password, $datas["Password"])==0)

    But heed mac_guyver's advice as it was all very good.

     

  2. ^^ Actually I find the pop-up quite useful if I am writing something and accidentally click the close button on a tab or browser (pls don't hate me, lol) especially if there is no auto safe.

     

    This is acceptable if I have coded an application that a user is working in and wants to leave an area without saving.

     

    But as a 'WAIT DON'T LEAVE!' for a webpage, I make a point to not go back to that site again, report it, etc.

×
×
  • 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.