Description:
I see a lot of people here who are trying to fix a problem or install a hack, sometimes requires them to run a SQL query on their database, and just don't know quite how.
I know you can use Telnet, but not everyone has access, and I know there's phpMyAdmin, but who needs all that when you just need to update a table or add a field.
Of course running select queries with this is not very useful, but I'm working on changing that.
Main Features:
- Run a single query
- Run multiple queries
- Option to show / not show query after execution
- Confirmation page
Demo:
1.
2.
3.
4.
Installation:
1. Unzip query.php from the attached zip file and upload to your admin folder.
2. In index.php (under your admin folder), replace
with
That's it - can it get any more simple?
Feedback, requests, future ideas and anything else is more than welcome.
I see a lot of people here who are trying to fix a problem or install a hack, sometimes requires them to run a SQL query on their database, and just don't know quite how.
I know you can use Telnet, but not everyone has access, and I know there's phpMyAdmin, but who needs all that when you just need to update a table or add a field.
Of course running select queries with this is not very useful, but I'm working on changing that.
Main Features:
- Run a single query
- Run multiple queries
- Option to show / not show query after execution
- Confirmation page
Demo:
1.
2.
3.
4.
Installation:
1. Unzip query.php from the attached zip file and upload to your admin folder.
2. In index.php (under your admin folder), replace
PHP Code:
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("Options"); ?>
</table>
<a href="options.php?s=<?php echo $session[sessionhash]; ?>&action=options"> Change options </a>
</td></tr>
PHP Code:
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("Options"); ?>
</table>
<a href="options.php?s=<?php echo $session[sessionhash]; ?>&action=options"> Change options </a>
</td></tr>
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("SQL Queries"); ?>
</table>
<a href="query.php?s=<?php echo $session[sessionhash]; ?>"> Run a SQL query </a>
</td></tr>
That's it - can it get any more simple?
Feedback, requests, future ideas and anything else is more than welcome.
Comment