ID: 9445
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: HTTP related
Operating System: FreeBSD 4.2
PHP Version: 4.0.4pl1
New Comment:

The problem is probably caused by the REALLY long line.  Try
upgrading to the current version.  If that still doesn't
work, re-open.

Previous Comments:
------------------------------------------------------------------------

[2001-02-25 15:18:42] [EMAIL PROTECTED]

The source for that html page is all on one line. Approx. 19,000 characters. I can 
fopen/file(), without any problems, html pages which have newline breaks throughout.

------------------------------------------------------------------------

[2001-02-25 15:15:28] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=9445&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to