Quote:
Originally posted by nakkid
i was done by firefly, in a more extensive format. look at his hacks.
|
There is one hack I know which is "run SQL query from your Admin CP" (JamesUS?). However:
1- It's vb-integrated, this is not.
2- It can handle only SELECT queries (eg ALTER queries produces errors), this can handle all.
When you create a hack, you sometimes need to run SQL commands and IMHO it's not practical to ask the users to first install another hack to be able to install yours. This is why I published this small script. You can simply include it inside your hack and the users who install your hack can easily run the necassary SQL query.
As I mentioned in my message, you as a hacker would need neither this script, nor the other one, because you probably have MySQLAdmin etc. But before writing this script I felt obligated to code individiual installation scripts for my hacks which require SQL query runs but now I just add the script into my installation file and give the necessary SQL command in instructions and I'm done.
I'm sure the hack you mentioned is a nice and useful hack, so kudos to its author (Firefly?, JamesUS?) but I dont think the hack and this script serve to the same purpose, although what they do looks same. However if the author is offended in anyway, I allow this thread to be removed.
Regards,
Logician