$sock = fsockopen($url_parts['host'], (isset($url_parts['port']) ? (int)$url_parts['port'] : 80), $errno, $errstr, 30);
if (!$sock) return false;
I have list on my db for urls, that I am visiting, and occassionally I get this:
I am getting "Fatal error: Maximum execution time of 30 seconds exceeded..."
Its expected, since it goes to the site, that does not allow sockets or something else.
How do I skip these bad sites, so my script would continue running for other good ones?
Thanks