sunstilch Posted December 24, 2002 Posted December 24, 2002 First off, i'm a somewhat new to Osc, but I love it! I want to know how to make a right or left side box dissapear automatically once a user has been forced into SSL mode. on the other hand, I'd also like to know how to make a box appear automatically as well. I see it being done already when I log into my store, but I tried looking through the code and I just dont have a clue. Any help would be much appreciated! Thanks! :D
mattice Posted December 24, 2002 Posted December 24, 2002 In colum_left.php (or right, suit yourself) if ($HTTPS == 'on') { include('whatever_box.php'); } else { include('another_box.php'); } If you do not want an ELSE: if ($HTTPS == 'on') { include('whatever_box.php'); } Merry Xmas :D "Politics is the art of preventing people from taking part in affairs which properly concern them"
sunstilch Posted December 25, 2002 Author Posted December 25, 2002 It worked like a charm, and I just learned a great deal from doing this. Thanks so much, and you have a Great Christmas as well! sunstilch
Recommended Posts
Archived
This topic is now archived and is closed to further replies.