Jump to content

[SOLVED] php page says "Transferring data from <server>..." for several seconds


lonewolf217

Recommended Posts

I have a simple PHP site that pulls information from a database and displays it in a table on the page.  On all of my pages however, when I load the page the firefox status bar says "Transferring data from <server>..." for several seconds after everything on the page has been displayed, and the page itself also still has the "loading" icon as if its not ready yet

 

I do not think it has anything to do with my code since it is very simplistic, but perhaps a php.ini setting that I do not know about.  Does anyone have an idea of what might be going wrong here ?  Its not really causing problems, just a final annoyance im hoping to get rid of

 

Here is a sample of my simplest page, just outputting some information from a tracking table

define.php just holds some arrays with predefined values that I use in some of my pages. no calculations or queries are done there

 

<?php
session_start();
include 'define.php';

$strSQL = "SELECT * FROM history";

if($connection = mssql_connect($myServer,$myUser,$myPass)){
mssql_select_db($myDB,$connection);
if($sql = mssql_query($strSQL))	{
	echo "<center><table border=1>";
	echo "<tr><td><b>Username</b></td><td><b>Action</b></td><td><b>Time</b></td></tr>";
	while($row = mssql_fetch_array($sql)) {
		echo "<TR><TD width=100>";
		echo $row['UID'];
		echo "</TD><TD width=300>";		
		echo $row['action'];
		echo "</TD><TD width=200>";
		echo $row['timestamp'];
		echo "</TD></TR>";
	}
	echo "</table></center>";
}
else {
	echo "Error: " . mysql_error();
}	
}
else {
echo "Error: " . mysql_error();
}
?>

ive tried that before, didn't help

 

I am thinking that this is something to do with just firefox though because when I try it in IE i do not get the message

 

I guess there is nothing I can do about it for now so just closing the topic

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.