Hi
I want to check is some server (ex: www.yahoo.com) is online, but do it within reasonable timeframe (3sec). Whic means that if no response in 3s, script execution should continue normally.
If I tried to use fsockopen() with timeout set, often it didn't quit and continue script execution within this timeout time, also often it just hanged about 10s and then browser 'gave me a finger'.
Even set_time_limit() doesn't work although this wouldn't be the solution anyway.
Is there a chance to do this the way that leaves control over execution time?
Henry