fopen never ends?
| From: | Paul van Brouwershaven | Date: | Tue, 19 Feb 2008 12:26:52 +0000 |
| Subject: | fopen never ends? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-269605@lists.php.net to get a copy of this message | ||
When you run the folling script, it will never ends?
I have seen this more then once, I know that there is no service running at the target host, but why is the script not printing the failed message?
It's only with a few ip-number I have this problem.
if ($fp = fopen('https://81.23.227.9', 'rb', false)) {
echo "ok";} else {
echo "failed";} Best Regards, Paul van Brouwershaven