Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $dbhost = 'removed';
- $dbuser = 'removed';
- $dbpass = 'removed';
- $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die('Error connecting to mysql');
- mysql_select_db("removed");
- $query = mysql_query("SHOW TABLES");
- if ($query)
- {
- while($row=mysql_fetch_assoc($query))
- {
- if (substr(0,5) == 'phpbb_') echo "DROP TABLE ".$row['name'];
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement