I am using the "header" method (per some awesome feedback from this forum) to redirect from http to https. I added the "header" method to the top of my index.php file.
----start of snip-------------------
<?php
header("Location:
$user_login = "";
if(isset($_REQUEST['user_login'])){
$user_login = $_REQUEST['user_login'];
if (isset($_REQUEST['username'])){
session_start();
$HTTP_SESSION_VARS['valid_user'] = $_REQUEST['username'];
$username = $HTTP_SESSION_VARS['valid_user'];
}
}
--------end of snip----------------
But, when I go to the site, it is as if the site is in a loop. I can see the bottom of my ie browser and it is flashing with a "redirecting" and a "connecting" non stop.
Anybody have any ideas?
I have posted this question on another thread and do apologize for multi-threading, but wanted to start fresh to avoid the clouds in my head. Again, I do apologize.
Thanks.
----start of snip-------------------
<?php
header("Location:
$user_login = "";
if(isset($_REQUEST['user_login'])){
$user_login = $_REQUEST['user_login'];
if (isset($_REQUEST['username'])){
session_start();
$HTTP_SESSION_VARS['valid_user'] = $_REQUEST['username'];
$username = $HTTP_SESSION_VARS['valid_user'];
}
}
--------end of snip----------------
But, when I go to the site, it is as if the site is in a loop. I can see the bottom of my ie browser and it is flashing with a "redirecting" and a "connecting" non stop.
Anybody have any ideas?
I have posted this question on another thread and do apologize for multi-threading, but wanted to start fresh to avoid the clouds in my head. Again, I do apologize.
Thanks.