[PHPTAL] Templates > 1024 characters?

Ken Restivo ken at restivo.org
Fri Apr 7 05:58:22 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was poking around in XML_Parser.php and found this:


      while ($data = fread($fp, 1024)) {
            $err = $this->_parse($data, feof($fp));
            if (PEAR::isError($err)) {
                fclose($fp);
                return $err;
            }
        }

Umm... shouldn't that be $data .= fread($fp, 1024)?

- -ken
- -- 
- ---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFENeNee8HF+6xeOIcRApwpAJ9NT+8wuTBxD6CrPsLquROYpHzz/gCgokX4
NytxJEXxdgTd1kVnSrZmwXg=
=ZXgk
-----END PGP SIGNATURE-----



More information about the PHPTAL mailing list