I do this to my admin/orders.php and provider/oders.php as sensitive info is stored with the customers cc so I add the following include at the top of the orders.php:
Code:
@include "../customer/https.php";
And make adjustments in customer/https.php:
Code:
$https_scripts = array("orders.php","cart.php");
You'll need to add the include on every area in the admin you want secure so if it is hit with http it will switch over, you'll also need to add the filename of the admin php script your wanting to secure, note ive got orders.php in my $https_scripts array.
hth.