* An RFC 1939 compliant wrapper class for the POP3 protocol.
*
* Licensed under the GNU GPL. For full terms see the file COPYING.
+ * @license http://opensource.org/licenses/gpl-license.php GNU General Public License
*
* pop3 class
*
- * $Id: class-pop3.php 8082 2008-06-14 16:36:13Z westi $
+ * $Id: class-pop3.php 17436 2011-02-09 17:36:23Z ryan $
*/
-/**
- * POP3
- *
- * @package SquirrelMail
- */
class POP3 {
var $ERROR = ''; // Error string.
$line = fgets($fp,$buffer);
while ( !ereg("^\.\r\n",$line))
{
- if ( $line{0} == '.' ) { $line = substr($line,1); }
+ if ( $line[0] == '.' ) { $line = substr($line,1); }
$MsgArray[$count] = $line;
$count++;
$line = fgets($fp,$buffer);