zardiw wrote: And fwiw........
1. Guess what website/forum it's on
2. Guess the path
3. Get past my .htaccess authorization (OH...you ASSumed the script wasn't in a password protected folder..I see....lol)
3. Write a script to delete my users
4. I'm waiting................
The point is that according to this topic's title, you are targetting dummies. If those dummies had followed your instructions, they would have had to have the this script in the same folder as their board, which shoots #1 and #2. They also would not have had an .htaccess file, since you did not suggest one, which shoots #3. This script is designed to delete your users, which shoots the second #3.
..and #4 (or #5 o.O?) Waiting for what, someone to correct your unsafe scripting again?
Wow.. what an attitude problem, being verbally abusive is no way to go here Zardiw.
By persisting instead of just accepting the advice freely given to you by people who are alot more experienced, all you succeeded in doing was emabarrasing yourself.
I appreciate you have provided a quick down and dirty script that gets the job done, fab.
But the "dummies" (congrats for alienating your target audience btw) are sooner going to want a
safe, secure and supported method of removing users from their database, not install a script
that could be potentially very harmful to their board.
Any user picking up the script can see how it works, and figure a way to abuse it.
And as for using .htpasswd, I'm sure someone of your level didn't leave it the document root of your server, as that makes it potentially readable to the world, so much for secure folder, huh.