Run SQL Script from Admin

for osCommerce Online Merchant v2.2

The purpose of this contribution is simply to upload and process a SQL script text file. I wrote this script since I have found a couple hosts that don't provide a SQL tool like phpMyAdmin. The code allows you to restrict the commands that can be processed so allow some additional script safety. This script processes the SQL script file and provides feedback if errors occur. This script should only be used in a password protected area of your site. If others get access to this script, you could have serious problems. But I guess it is just as dangerous as the file manager that is already distributed with osCommerce. This is a complete package. Support: http://forums.oscommerce.com/index.php?showtopic=

Files