PHP 4.0 Bug #8188 Updated: fopen('http://***',"r") seems crash
| From: | stas@php.net | Date: | Sun, 10 Dec 2000 09:43:59 +0000 |
| Subject: | PHP 4.0 Bug #8188 Updated: fopen('http://***',"r") seems crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40736@lists.php.net to get a copy of this message | ||
ID: 8188
Updated by: stas
Reported By: mage@diablo.hu
Old-Status: Open
Status: Feedback
Bug Type: HTTP related
Assigned To:
Comments:
Failed to reproduce that. Could you try a snapshot from
http://snaps.php.net/ and report if it still happens?
Previous Comments:
---------------------------------------------------------------------------
[2000-12-09 23:15:43] mage@diablo.hu
<?php
echo "hello world";
$page = fopen('http://www.altavista.com/','r');
?>
This script tells 'document contained no data' by NetScape. I checked by HTTP:
---
$ telnet 0 80
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
GET /~mage/open.php4 HTTP/1.0
Connection closed by foreign host.
---
If I comment the fopen() function out, the result is "hello world".
-----------
modules:
- mysql
- gd
Server: Apache/1.3.14 (Unix) Debian/GNU
PHP: PHP 4.0.3pl1
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8188