Ahmed and I has developed this script for my site. But recently, as more people arrive, a lot is reporting “Internet Explorer - Not Responding” errors. We get that too, but only for about, 5 seconds then goes to the actual page with no problem. But about, 4/10 users has told me that their Internet Explorer just quits on them. Anyone has any ideas on how to fix it?
Heres the basic outline.
Goto www.asianillusion.com
It goes straight to index.html which forwards the web browser to index.php?sid=1. (If we don’t forward it to the ?sid=1 part, it draws a blank page), we use the:
<meta http-equiv="Refresh" content="0; URL=index.php?sid=1">
Script in
<head>
section.
The browser freezes up when reaching the index.php?sid=1 page for that breif period. If anyone would like to see the script, I can post it up.
system
June 19, 2003, 2:15pm
2
Hi Max
Can you post the entire script ?
system
June 19, 2003, 2:18pm
3
increase the time to 1 or 2. I doubt it, but it just might be too much information for the browser to handle so quickly.
I haven’t had a problem, and I tried about 10 times on 3 different browsers…
if it still does it, try redirecting with java-script:
<script language="java-script">
<!--
location.replace("http://www.yahoo.com");
-->
</script>
system
June 19, 2003, 2:19pm
4
just take out the “-” from the word java**script…
system
June 19, 2003, 2:20pm
5
Alrit, it might take a few posts:
<?php
include 'names.inc';
$section = $id[$_GET['sid']];
?>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Asian Illusion</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body bgcolor="#333333" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<p> </p>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="832" height="481">
<tr>
<td width="8" height="1"><img src="spacer.gif" width="5" height="1" border="0" alt=""></td>
<td width="21" height="1"><img src="spacer.gif" width="21" height="1" border="0" alt=""></td>
<td width="81" height="1"><img src="spacer.gif" width="81" height="1" border="0" alt=""></td>
<td width="12" height="1"><img src="spacer.gif" width="12" height="1" border="0" alt=""></td>
<td width="39" height="1"><img src="spacer.gif" width="39" height="1" border="0" alt=""></td>
<td width="507" height="1"><img src="spacer.gif" width="507" height="1" border="0" alt=""></td>
<td width="38" height="1"><img src="spacer.gif" width="38" height="1" border="0" alt=""></td>
<td width="9" height="1"><img src="spacer.gif" width="9" height="1" border="0" alt=""></td>
<td width="87" height="1"><img src="spacer.gif" width="87" height="1" border="0" alt=""></td>
<td width="9" height="1"><img src="spacer.gif" width="9" height="1" border="0" alt=""></td>
<td width="9" height="1"><img src="spacer.gif" width="9" height="1" border="0" alt=""></td>
<td width="8" height="1"><img src="spacer.gif" width="6" height="1" border="0" alt=""></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="12" width="828" height="6"><img name="index_r1_c1" src="index_r1_c1.gif" width="823" height="6" border="0" alt=""></td>
<td width="4" height="6"><img src="spacer.gif" width="1" height="6" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="34" width="8" height="474"><img name="index_r2_c1" src="index_r2_c1.gif" width="5" height="490" border="0" alt=""></td>
<td colspan="10" width="812" height="89"><img name="index_r2_c2" src="index_r2_c2.gif" width="812" height="89" border="0" alt=""></td>
<td rowspan="34" width="8" height="474"><img name="index_r2_c12" src="index_r2_c12.gif" width="6" height="490" border="0" alt=""></td>
<td width="4" height="89"><img src="spacer.gif" width="1" height="89" border="0" alt=""></td>
</tr>
<tr>
<td colspan="10" width="812" height="11"><img name="index_r3_c2" src="index_r3_c2.gif" width="812" height="11" border="0" alt=""></td>
<td width="4" height="11"><img src="spacer.gif" width="1" height="11" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="32" width="21" height="374"><img name="index_r4_c2" src="index_r4_c2.gif" width="21" height="390" border="0" alt=""></td>
<td width="81" bgcolor="#A5C3D6" height="16"><b>
<center><font face="Verdana" size="1" color="#003366">Navigation</font></b></center></td>
<td rowspan="2" colspan="2" width="51" height="28"><img name="index_r4_c4" src="index_r4_c4.gif" width="51" height="28" border="0" alt=""></td>
<td width="507" bgcolor="#A5C3D6" height="16"><b>
<font face="Verdana" size="1" color="#003366">Asian Illusion » <?php echo $section; ?></font></b></td>
<td rowspan="2" colspan="2" width="47" height="28"><img name="index_r4_c7" src="index_r4_c7.gif" width="47" height="28" border="0" alt=""></td>
<td width="87" bgcolor="#A5C3D6" height="16"><b>
<center><font face="Verdana" size="1" color="#003366">Hot Stuff</font></b></center></td>
<td rowspan="2" colspan="2" width="18" height="28"><img name="index_r4_c10" src="index_r4_c10.gif" width="18" height="28" border="0" alt=""></td>
<td width="4" height="16"><img src="spacer.gif" width="1" height="16" border="0" alt=""></td>
</tr>
<tr>
<td width="81" height="12"><img name="index_r5_c3" src="index_r5_c3.gif" width="81" height="12" border="0" alt=""></td>
<td width="507" height="12"><img name="index_r5_c6" src="index_r5_c6.gif" width="507" height="12" border="0" alt=""></td>
<td width="87" height="12"><img name="index_r5_c9" src="index_r5_c9.gif" width="87" height="12" border="0" alt=""></td>
<td width="4" height="12"><img src="spacer.gif" width="1" height="12" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=1" style="text-decoration: none">
<font color="#336699"><?php echo $id[1]; ?></font></a></font></b></td>
<td rowspan="30" width="39" height="346"><img name="index_r6_c5" src="index_r6_c5.gif" width="39" height="362" border="0" alt=""></td>
<td rowspan="29" bgcolor="#FFFFFF" width="507" height="320">
<iframe src="<?php echo "http://www.asianillusion.com/", $section; ?>.php" width="100%" marginwidth="0" height = "100%" marginheight="0" scrolling="auto" frameborder="0"></iframe><td rowspan="30" width="38" height="346"><img name="index_r6_c7" src="index_r6_c7.gif" width="38" height="362" border="0" alt=""></td>
<td rowspan="17" colspan="3" bgcolor="#FFFFFF" width="105" height="132">
<p align="center">
<embed width="103" height="123" src="HotStuff.swf">
<td rowspan="30" width="9" height="346"><img name="index_r6_c11" src="index_r6_c11.gif" width="9" height="362" border="0" alt=""></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r7_c3" src="index_r7_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=2" style="text-decoration: none">
<font color="#336699"><?php echo $id[2]; ?></font></a></font></b></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r9_c3" src="index_r9_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=3" style="text-decoration: none">
<font color="#336699"><?php echo $id[3]; ?></font></a></font></b></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r11_c3" src="index_r11_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=4" style="text-decoration: none">
<font color="#336699"><?php echo $id[4]; ?></font></a></font></b></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
//To be continued
system
June 19, 2003, 2:21pm
6
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r13_c3" src="index_r13_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=5" style="text-decoration: none">
<font color="#336699"><?php echo $id[5]; ?></font></a></font></b></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r15_c3" src="index_r15_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=6" style="text-decoration: none">
<font color="#336699"><?php echo $id[6]; ?></font></a></font></b></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r17_c3" src="index_r17_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=7" style="text-decoration: none">
<font color="#336699"><?php echo $id[7]; ?></font></a></font></b></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r19_c3" src="index_r19_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="forum" style="text-decoration: none" target="_parent">
<font color="#336699"><?php echo $id[8]; ?></font></a></font></b></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r21_c3" src="index_r21_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=9" style="text-decoration: none">
<font color="#336699"><?php echo $id[9]; ?></font></a></font></b></td>
<td width="4" height="12"><img src="spacer.gif" width="1" height="12" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="5" colspan="3" width="105" height="28"><img name="index_r23_c8" src="index_r23_c8.gif" width="105" height="28" border="0" alt=""></td>
<td width="4" height="2"><img src="spacer.gif" width="1" height="2" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r24_c3" src="index_r24_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=10" style="text-decoration: none">
<font color="#336699"><?php echo $id[10]; ?></font></a></font></b></td>
<td width="4" height="14"><img src="spacer.gif" width="1" height="14" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r26_c3" src="index_r26_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" colspan="2" bgcolor="#FFFFFF" width="93" height="14"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=11" style="text-decoration: none">
<font color="#336699"><?php echo $id[11]; ?></font></a></font></b></td>
<td width="4" height="10"><img src="spacer.gif" width="1" height="10" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="5" width="9" height="12"><img name="index_r28_c8" src="index_r28_c8.gif" width="9" height="28" border="0" alt=""></td>
<td rowspan="3" width="87" bgcolor="#A5C3D6" height="16"><b>
<center><font face="Verdana" size="1" color="#003366">Affiliates</font></b></center></td>
<td rowspan="5" width="9" height="12"><img name="index_r28_c10" src="index_r28_c10.gif" width="9" height="28" border="0" alt=""></td>
<td width="4" height="4"><img src="spacer.gif" width="1" height="4" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" width="93" height="1">
<font color="#336699"><img name="index_r29_c3" src="index_r29_c3.gif" width="93" height="1" border="0" alt=""></font></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" colspan="2" bgcolor="#FFFFFF" width="93" height="1"><b>
<font size="1" face="Verdana" color="#336699">
<a href="index.php?sid=12" style="text-decoration: none">
<font color="#336699"><?php echo $id[12]; ?></font></a></font></b></td>
<td width="4" height="11"><img src="spacer.gif" width="1" height="11" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" width="87" height="1"><img name="index_r31_c9" src="index_r31_c9.gif" width="87" height="12" border="0" alt=""></td>
<td width="4" height="1"><img src="spacer.gif" width="1" height="3" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="4" colspan="2" width="93" height="183"><img name="index_r32_c3" src="index_r32_c3.gif" width="93" height="183" border="0" alt=""></td>
<td width="4" height="9"><img src="spacer.gif" width="1" height="9" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" dir="ltr" width="105" height="132">
<p align="center">
<embed width="103" height="123" src="Affiliates.swf">
<td width="4" height="132"><img src="spacer.gif" width="1" height="132" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" colspan="3" width="105" height="42"><img name="index_r34_c8" src="index_r34_c8.gif" width="105" height="42" border="0" alt=""></td>
<td width="4" height="16"><img src="spacer.gif" width="1" height="16" border="0" alt=""></td>
</tr>
<tr>
<td width="507" height="26"><img name="index_r35_c6" src="index_r35_c6.gif" width="507" height="26" border="0" alt=""></td>
<td width="4" height="26"><img src="spacer.gif" width="1" height="26" border="0" alt=""></td>
</tr>
</table>
</center>
</body>
</html>
system
June 19, 2003, 2:25pm
7
it might just be a browser/client issue. I doubt the problem is server-side related. Try the java-script redirect and see if it fixes things… because I had no problem viewing the site.
system
June 19, 2003, 2:26pm
8
Ok, I just uploaded the new index.html file with the following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Asian Illusion</title>
</head>
<body>
<script language="javascript">
<!--
location.replace("http://www.asianillusion.com/index.php?sid=1");
-->
</script>
<font face="Verdana" size=1><font color="#414141">
<center><span style="background-color: #EFEFEF">This page has moved. If you aren't taken
to the new page automatically, please wait...</span></font>
<span style="background-color: #EFEFEF"></center>
</body>
</html>
system
June 19, 2003, 2:27pm
9
Nope, Internet Explorer still stops functioning for some reason.
This is really giving me a headache.
system
June 19, 2003, 2:28pm
10
Jup, works too … I’d keep using the jscript, for some reason it makes me consider it better.
[EDIT] ? not for me … [/EDIT]
system
June 19, 2003, 2:29pm
11
Ok, I’ll stick with the JS script, I does actually cut down the time by a bit. Thanks, so now the problem lies on the actual php scripting possibily?
system
June 19, 2003, 2:31pm
12
I think the problem is people’s browser. I’ve had troubles with IE 6.0 before too (see my Browser Frustration posts :P) which froze entirely, but when I removed some ad-ware, worked fine again … Maybe you could try that.
system
June 19, 2003, 2:35pm
13
I keep my computer in tip-top shape. Defragments and Spyware scans almost 3 times a week. I’m sure it doesn’t have any problems. But I’m not the only one having this problem, almost everyone that goes on the site notices it.
system
June 19, 2003, 2:35pm
14
i actually think its the browser. I doubt the problem lies in the PHP because the PHP is parsed at the server, so you would experience the same problem even if you were using different browsers.
its a client-side issue… not php/server-side
system
June 19, 2003, 2:38pm
15
Now theres something I have no idea how to solve.
:’(
system
June 19, 2003, 3:20pm
16
no no no, the problem is with the index.php file, not the redierct script… try going to www.asianillusion.com/index.php?sid=1 and you’ll still get the error :-\
system
June 19, 2003, 3:22pm
17
So are you saying it’s the PHP problem or Server since we got the redirection problem resolved.
system
June 19, 2003, 3:31pm
18
the problem is with that file, but I don’t think its the server-side script that is the problem because if it was then you would get the same error across every browser, every platform.
system
June 19, 2003, 3:37pm
19
yeah… its not the php script that’s causing it… oh… another thing, when i run exactly the same files on my server, nothing at all like this happens… :-\
system
June 19, 2003, 4:26pm
20
O boy, so we’ve ruled out just about all the possibilities. What other problem can be causing this?