Jump to content

Timeout: include();


dahc

Recommended Posts

Multiple questions here.

 

Intention: I have an "rss feed" on my page.  I want to write a timeout message if the feed has not loaded within x seconds.

 

Questions:

  1. Is there an easy way to timeout an include file if it doesn't load quick enough.

  2. Can I just use

set_time_limit();

  3. If I do will it timeout if the script has run but the rss feed is slow loading?

 

I think this should be easy, but I am missing it.  I can't find it anywhere.

 

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/56089-timeout-include/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.