javasprout
Member
- Joined
- Sep 28, 2004
- Messages
- 12
My website, www.localpin.com, when it does not have current information from DMOZ, will just go and try and read the DMOZ page directly. Recently I am not able to open an sock connection to DMOZ. This was fine ever since I first implemented it (6 months ago), but in the last week or so, it has stopped working. I now regularly get this message:
Warning: fsockopen() [function.fsockopen]: unable to connect to www.dmoz.org:80 in c:\program files\apache group\www\localpinlocaldev\class\DmozPage.class.php on line 602
ERROR: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
where line 602 is:
$fp = fsockopen ($host, 80, $errNo, $errStr, 30);
A long time ago I just did fopen() on a DMOZ page, but with the automatic redirects that DMOZ now does, I need to know if the page URL is really what I was expecting.
Is there something changed at the DMOZ end which now stops such connections?
Thanks!
Warning: fsockopen() [function.fsockopen]: unable to connect to www.dmoz.org:80 in c:\program files\apache group\www\localpinlocaldev\class\DmozPage.class.php on line 602
ERROR: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
where line 602 is:
$fp = fsockopen ($host, 80, $errNo, $errStr, 30);
A long time ago I just did fopen() on a DMOZ page, but with the automatic redirects that DMOZ now does, I need to know if the page URL is really what I was expecting.
Is there something changed at the DMOZ end which now stops such connections?
Thanks!