Re: Bug #12439 Updated: fopen and URL on the same server
| From: | Ramsi Sras | Date: | Mon, 30 Jul 2001 08:00:04 +0000 |
| Subject: | Re: Bug #12439 Updated: fopen and URL on the same server | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61432@lists.php.net to get a copy of this message | ||
UNSUBSCRIBE ME PLEASE!!!!!!!!!!!!!!
reweiner@yahoo.com schrieb:
> ID: 12439
> User updated by: reweiner@yahoo.com
> Reported By: reweiner@yahoo.com
> Old Status: Open
> Status: Closed
> Bug Type: Filesystem function related
> Operating System: Linux-2.2.19
> PHP Version: 4.0.6
> New Comment:
>
> I found the problem. My DNS was broken.
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2001-07-27 20:06:14] reweiner@yahoo.com
>
> Hi,
>
> I got a following problem with this script:
>
> <?
> $tempurl = "http://www.hostinsameserver.com";
> $tempurl2 = "http://www.yahoo.com/";
>
> $tempfile2 = fopen("$tempurl2/index.html", "r");
> echo $tempfile2;
>
> $tempfile = fopen("$tempurl/index.html", "r");
> echo $tempfile;
>
> ?>
>
> The first one is hosted in the same machine as the script that is running on it ( it can even
> be the same site ). The second is hosted outside the network.
>
> When it tries to access the first URL it hangs forever. No CPU consumption or memory.
>
> I tried with PHP-3.0.18 ( same machine ) and it works, so I discarded DNS problems.
>
> Any hint ?
> Renato.
>
> ------------------------------------------------------------------------
>
> Edit this bug report at
> http://bugs.php.net/?id=12439&edit=1
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net