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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mage at diablo dot hu
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC