Thread: File include
View Single Post
Old 12-09-2006, 02:10 PM   #1
Iceburg
Green Mole
 
Join Date: Dec 2006
Posts: 1
File include

Hi,

I have a site at feedthebull.com that loads really slow. The reason it loads so slow is that I have a extra_field configured that allowed users to enter stock tickers when they submit stories, The page loads and pulls the current price from yahoo.com. I use php to call:

$lines = file("http://quote.yahoo.com/d/quotes.csv?s=".$this->link_field1."&f=l1");

Does anyone know a way that I can load the entire page, and then load these items last so you can have access to the page and the stories quickly, but still have the quotes? I don't know of a way to do it but heard it could be done with ajax, or javascript or another php command?

-Nick
Iceburg is offline   Reply With Quote