Jump to content

ulferik

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

ulferik's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I don't really see anything that's wrong. Try adding more output to the login() function, which is currently very compact. Store the generated SQL query in a variable, and print it on the screen before running it. Store the returned COUNT(*) value in a variable, and print that too on the screen. Then you'll see what's going on.
  2. I'd suggest to construct the new contents of the file and store it with a temporary filename, and only switch it over to the real name when it's finished.
  3. Don't know the answer, but you have a security vulnerability in line #2.
×
×
  • 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.