Mfred Posted July 22, 2006 Posted July 22, 2006 Hi, I wanna have a different header for SSL and NONSSL sites. Therefor I thought of the following: <?php if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { echo 'test-SSL'; } else { echo 'test-NONSSL'; } } ?> But then my complete header disappears. What I am doing wrong there? TIA mfred
♥Monika in Germany Posted July 22, 2006 Posted July 22, 2006 I use <?php if ($request_type != 'SSL') { //do this } else { //do that } ?> :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.