PHP 4.0 Bug #8188: fopen('http://***',"r") seems crash

From: Date: Sun, 10 Dec 2000 04:15:43 +0000
Subject: PHP 4.0 Bug #8188: fopen('http://***',"r") seems crash
Groups: php.dev 
Request: Send a blank email to php-dev+get-40726@lists.php.net to get a copy of this message
From: mage@diablo.hu Operating system: Debian linux PHP version: 4.0.3pl1 PHP Bug Type: HTTP related Bug description: fopen('http://***',"r") seems crash <?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 -- Edit Bug report at: http://bugs.php.net/?id=8188&edit=1

« previous php.dev (#40726) next »