Forum Moderators: coopster

Message Too Old, No Replies

flush, mysql slower in folders

         

helenp

6:13 pm on Jan 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi,
I have an very long availabilitycode,
the availability is displayed in 3 blocks,
that mean
<table>code php mysql</table>
<table>code php mysql</table>
<table>code php mysql</table>

The page is slow in the first level
mydomain/page1.php
but the same code in second level is 3 times slower
mydomain/folder/page2.php

I thought something was wrong with the page,
but no, the same page (page2.php) if I save it in first level in the domain it is not that slow?
Is it so that mysql is slower in folders than in first level?

To fix that I was trying to use flush() but I canīt get it to work.
Any thoughts?
My thought was to put an flush() after every table so the pages loades bit by bit, but canīt make it.

jatar_k

4:58 pm on Jan 23, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



as much as the symptom is deeper is slower I am having a hard time believing that where it lives is the reason.

I think you are going to have to spend some more time on diagnostics. It could be some strange server thing but I would look through the script first and find all path related functions. I would also benchmark the acript in pieces to see which part specifically is slowing down.

helenp

8:11 pm on Jan 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



wow, doing what you said I found where the problem is.
All pages, I mean all slow and quick ones have this in the head tag: body {
behavior: url(csshover.htc);
}
I had diferent versions of the csshover.htc script in the diferent folders,
but only the availability pages where slow, rest of pages using same script was quick.
So must been some interfering between the php script and the old version of csshover.htc file.

Thanks