Oscommerce force secure admin
From Webpipe Wiki
This will force the admin interface to use your secure certificate so that potentially sensitive customer data is encrypted between the web server and your browser.
Add the following code to the bottom of /catalog/admin/includes/application_top.php just before the final closing "?>"
if($_SERVER['SERVER_PORT'] == 80) {
Header("Location: " . HTTPS_CATALOG_SERVER . DIR_WS_ADMIN);
exit;
}



