Re: background="#"

From: Date: Thu, 22 Jul 2004 14:35:53 +0000
Subject: Re: background="#"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191529@lists.php.net to get a copy of this message
"Tobias Brasier" <tobias@sc.edu> wrote in message news:5.2.1.1.2.20040722101730.02bf34c0@mailbox.sc.edu... > Hi all-- > > I subscribed to this list because I have an interest in PHP, but am more of > a dabbler than an actual programmer; in other words, I never thought I > would be posting a question to the list. So, the following is a problem I > send on behalf of one of the programmers in my group, who is relatively new > to PHP. > > ===== > I have recently noticed a problem with our code or our webserver (Apache) > when I execute a .php file. I have taken all php code out, but within an > html <td> tag, I use background="#", which is used for older browsers such > as Netscape 4.7 if you have a background color or image in a table (the > background # completes it throughout the td). This isn't the case for IE > or NS 6+, though. > > The problem is that when I run the page, the log files show that the page > was accessed twice. This is only the case if the file has a php > extension. This does not occur if the file is an html file, > though. Please don't respond by saying change it to an html file and don't > worry about it. This needs to be a php file that connects to a database, > but I first noticed the problem, because I had code that emailed me > twice. After narrowing it down, it has nothing to do with the code, only > the fact that its a php file and background="#" is in a <td> tag. > ===== > > Many thanks. > ===== > Tobias Brasier Hi Tobias, I remember that some weeks ago someone had a similar problem with an img tag where the page reloaded several times. Search the mailing list archives and you might find the thread: http://marc.theaimsgroup.com/?l=php-general Regards, Torsten Roehr

« previous php.general (#191529) next »