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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
34 - 6 = ?
Subscribe to this entry?

 
 [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 Apr 19 19:01:28 2024 UTC