Hi,
I've put a game on a webserver at lycos and can work without any problems with internet explorer 6.0.2600.0000.
Other users however who use internet explorer 5.5 or other versions of intenet explorer 6.0 cannot acces the site..
The problem is that when you log in the main.php scripts is executed and you are transfered to the main screen.. A part of the main.php is a checksum if a third php script should be executed. If this is the case the 5.5 users get the question, Do you want to download main.php or open (the file download dialog basiscly...)
On my internet explorer everything just works fine.. Here is the beginning of the main.php code. The problem occurs when the scheduler.php must be run before it is allowed to continue
<?
include("config.php");
include("languages/$lang");
updatecookie();
$basefontsize = 0;
$stylefontsize = "8Pt";
$picsperrow = 5;
if($screenres == 640)
$picsperrow = 3;
if($screenres >= 1024)
{
$basefontsize = 1;
$stylefontsize = "12Pt";
$picsperrow = 7;
}
connectdb();
$title=$l_main_title;
include("header.php");
if($sched_type==1)
{
$lastrun = time();
$res = $db->Execute("SELECT last_run FROM $dbtables[scheduler] LIMIT 1");
$result = $res->fields;
$sched_counter = floor((TIME()-$result[last_run])/ ($sched_ticks60));
if ($sched_counter < 0) $sched_counter = 0;
if ($sched_counter > 5) $sched_counter = 5;
if ($sched_counter > 0)
{
$secs = $sched_counter $sched_ticks * 60;
$db->Execute("UPDATE $dbtables[scheduler] SET last_run=last_run+$secs");
$sched_temp=$swordfish;
$swordfish=$adminpass;
for (; $sched_counter > 0; $sched_counter--)
{
include("scheduler.php");
}
$swordfish=$sched_temp;
unset($sched_temp);
}
}
if(checklogin())
{
die();
}
//-------------------------------------------------------------------------------------------------
this script is hosted on tripod.lycos.nl
( http://members.lycos.nl/gameplaying/bnt )
thanks
Mr. F.