PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Coding & Tutorials (http://www.phpdig.net/forum/forumdisplay.php?f=31)
-   -   File include (http://www.phpdig.net/forum/showthread.php?t=2712)

Iceburg 12-09-2006 02:10 PM

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


All times are GMT -8. The time now is 02:09 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.