I try to upgrade site from non-ssl to ssl site, but there are too mcuh thing to do.
I decide to use url forwarding to https://www.domain.com for my whole site.
When i go to 1st page of site, It says " Do you want to see secure and non secure page ? "
If i say "yes", it does not show padlock(lock on bottom).
When i login as user or admin, i can go to first page(https://www.domain.com) wihtout problem.
Do i need make cookie ? or do i need change index files ?
This is my index file.
__________________________________________________ ______
[php]
<?
header('P3P: CP="NOI CURa ADMa DEVa TAIa OUR DELa BUS IND PHY ONL UNI COM NAV INT DEM PRE"');
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
if(!file_exists("./config/db_info.php")) header("location:./sysop/install.php");
include "./config/db_info.php";
include "./config/db_connect.php";
include "./config/skin_info.php";
include "./config/shopDisplay_info.php";
include "./config/admin_info.php";
include "./config/cart_info.php";
include "./function/const_array.php";
include "./function/kerrigancap_lib.php";
include "./function/counterinsert.php";
?>
<?
if(file_exists("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/layout_start.php")) include_once ("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/layout_start.php");
if (file_exists("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/menu_top.php")) include ("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/menu_top.php");
?>
<table width="884" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="193" align="center" valign="top">
<?
if (file_exists("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/menu_left.php")) include ("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/menu_left.php");
?></td>
<td align="center" valign="top">
<? if (file_exists("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/quick.php")) include ("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/quick.php"); ?>
<?
if (file_exists("./${SKIN_FOLDER_NAME}/index/$MainSkin/index.php")) include ("./${SKIN_FOLDER_NAME}/index/$MainSkin/index.php");
?></td>
</tr><? if (file_exists("./${SKIN_FOLDER_NAME}/index/$MainSkin/index_full.php")):?>
<tr>
<td colspan="2" align="center" valign="top"><?
include ("./${SKIN_FOLDER_NAME}/index/$MainSkin/index_full.php");
?></td>
</tr>
<? endif; ?>
</table>
<?
if (file_exists("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/menu_bottom.php")) include ("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/menu_bottom.php");
if (file_exists("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/layout_close.php")) include ("./${SKIN_FOLDER_NAME}/layout/$LayOutSkin/layout_close.php");
include "./function/popup.php";// popup module
?>
[/php]
Next time read the Posting Guidelines first and enclose your code within the appropriate coding tags, as shown at the top of the message area and in the Reply Guidelines at the right side of the reply area. - Ronald :cool: