
Originally Posted by
[RCZ]ShadowKing
maybe i too tired but i think is pretty clear what i saw(in gmpanel,votereward didn't checked) : if someone else or even an angry staff member login with this script "buh-bye" database?
You use directly the _POST data without to process them..that's very bad for a website using database support.
Also for a little speed boost of the script use ++$i and don't use count() in loops,define a variable which contain the count() before the loop $a = count($b); for($i = 0; $i<$a; ++$i){};