Contributions
Banner Manager with SSL Support
The purpose of this is to allow the use of the Banner Manager with banners not hosted locally. This small modification will detect when a page being loaded is SSL and will NOT load banners on those pages. Banners should only appear on non-SSL pages.
Installation involves modifying or replacing a single file.
This has only been tested in osCommerce 2.2-MS2 and with PHP version 4.3.11. It should work with most (if not all) versions of PHP.
Be sure to backup before installing any mod :)
| gareth123456 | 28 Oct 2005 |
I the last contribution didn’t work for me but this did. If you have no joy with the previous code, try mine….
<?php
if ($request_type != 'SSL') {
if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
Just change the code in the footer.
| rgpsales | 22 Oct 2005 |
Note: Contributions are used at own risk.
