PHP 4.0 Bug #9445: error message when using fopen or file functions

From: Date: Sun, 25 Feb 2001 20:15:28 +0000
Subject: PHP 4.0 Bug #9445: error message when using fopen or file functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-47489@lists.php.net to get a copy of this message
From: pgould@dircon.co.uk Operating system: FreeBSD 4.2 PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: error message when using fopen or file functions This is the error message I get: Warning: fopen("http://www.citywire.co.uk/","r") - Message too long in /usr/home/jon/webs/blahblah/htdocs/pull/citywire.php on line 87 Here is the script: $filename = "http://www.citywire.co.uk/latestnews/default.asp"; $fd = fopen ($filename, "r"); This is my ISP's setup: FreeBSD 4.2 ./configure' '--with-apxs=/usr/local/sbin/apxs' '--enable-versioning' '--with-system-regex' '--with-config-file-path=/usr/local/etc' '--disable-debug' '--enable-track-vars' '--without-gd' '--disable-pear' '--without-mysql' '--with-gd=/usr/local' '--with-ttf=/usr/local' '--with-zlib' '--with-mcrypt=/usr/local' '--with-mhash=/usr/local' '--with-imap=/usr/local' '--with-mysql=/usr/local' '--with-xml=/usr/local' '--enable-ftp' '--with-gettext=/usr/local' '--with-ming' '--prefix=/usr/local' 'i386--freebsd4.2' I don't have access to php.ini unfortunately. -- Edit Bug report at: http://bugs.php.net/?id=9445&edit=1

« previous php.dev (#47489) next »