LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG-Webdev] Remote URL timeout

[ILUG-Webdev] Remote URL timeout

Kae Verens kverens at contactjuggling.org
Tue Jan 6 19:14:33 GMT 2004


adam beecher wrote:
> Got a wee doodah here that uses Magpie RSS to aggregate news feeds for me.
> Two of the feeds (BBC) take a second or two to resolve from my server in the
> States, and Magpie is giving up while it waits. I think this is more of a
> PHP problem than a Magpie problem, so I'm wondering if there's any way to
> extend the time it'll wait at runtime within PHP?

not sure. will check and see when I'm not holding my kid in one hand and typing with the other (admittedly not a Steve Irwin stunt)

in the meantime:

> <?php
> $s=array(74,65,112,104,112,72,32,59,45,41);
> for($i=0;$i<count($s);$i++){echo'&#'.$s[$i].';';}
> ?>
> 

could be sped up and shortened thus:

$s=array(74,65,112,104,112,72,32,59,45,41);
foreach($s as $i)echo'&#'.$i.';';

Kae



More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell