Contributions
AdminLogin-0.0.5
This is a super simple add-on to secure the admin utility provided by osCommerce. There are two files to add, and two lines of code to enter (one is a comment). For UNIX users I've made a patch file to simplify things. More detailed information is in README.txt (Windows users will need WordPad to view. Notepad will not read it correctly).
My long-term goal with this add-on is to make a module that will be easily integrated into osCommerce (unlike some of the others I've tried to use). If anyone would like to contribute then please make a patch file and send it to me. Credit will be given as under the GPL license.
Expand All / Collapse All
Editei o arquivo admin_login.php pois ele não tratava erros de usuário inexistente!
The MySQL 4.1 Statement in phpMyAdmin for the admin table:
CREATE TABLE `administrators` (
`admin_id` INT UNSIGNED NOT NULL AUTO_INCREMENT ,
`admin_user` VARCHAR( 32 ) NOT NULL ,
`admin_pass` VARCHAR( 32 ) NOT NULL ,
PRIMARY KEY ( `admin_id` )
);
I've made some updates so it now uses the database.php file hence you don't need to add the DB connection string anymore
P.S. I'm far to busy to update any docs, Sorry
# --------------------------------------------------------
# AdminLogin-0.0.6-to-2.2ms1
# --------------------------------------------------------
# Version Change after adding the Import of SQL
# to myPhpAdmin 2.4.0 by Phiberz 19-03-2003 ver. 0.0.6
# --------------------------------------------------------
phpMyAdmin 2.4.0 MySQL Users:
# Download and Install latest phpMyAdmin (http://www.phpmyadmin.net/)
# Open the phpMyAdmin Util in you Webbrowser
# Select the OSC database
# Push the SQL link (top right window, between Stucture and Export)
# Select Compression: None
# Push "Browse"
# Select AdminLogin-0.0.6-to-2.2ms1.sql
# Then push "Go"
# Now the Admin-Table is fully added to the database
---------------------------------------------------------
This is a super simple add-on to secure the admin utility provided by osCommerce. There are two files to add, and two lines of code to enter (one is a comment). For UNIX users I've made a patch file to simplify things. More detailed information is in README.txt (Windows users will need WordPad to view. Notepad will not read it correctly).
My long-term goal with this add-on is to make a module that will be easily integrated into osCommerce (unlike some of the others I've tried to use). If anyone would like to contribute then please make a patch file and send it to me. Credit will be given as under the GPL license.
Note: Contributions are used at own risk.