php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8188 fopen('http://***',"r") seems crash
Submitted: 2000-12-09 23:15 UTC Modified: 2000-12-10 20:19 UTC
From: mage at diablo dot hu Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.3pl1 OS: Debian linux
Private report: No CVE-ID: None
 [2000-12-09 23:15 UTC] mage at diablo dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-10 04:43 UTC] 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-10 20:19 UTC] sniper@php.net
User reported problem fixed in latest snapshot.

--Jani
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 11:01:25 2019 UTC