PHP 4.0 Bug #8188 Updated: fopen('http://***',"r") seems crash
| From: | sniper@php.net | Date: | Mon, 11 Dec 2000 01:19:01 +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-40788@lists.php.net to get a copy of this message | ||
ID: 8188
Updated by: sniper
Reported By: mage@diablo.hu
Old-Status: Feedback
Status: Closed
Bug Type: HTTP related
Assigned To:
Comments:
User reported problem fixed in latest snapshot.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-10 04:43:59] stas@php.net
Failed to reproduce that. Could you try a snapshot from
http://snaps.php.net/ and report if it still happens?
---------------------------------------------------------------------------
[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