Error POP3 Class
| From: | Aku | Date: | Tue, 23 Oct 2001 04:25:55 +0000 |
| Subject: | Error POP3 Class | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71892@lists.php.net to get a copy of this message | ||
Hello,
I try pop3 class to access pop3 server, why error result like,
"Fatal error: Maximum execution time of 30 seconds exceeded in
c:\new\sample\oh\pop3.php on line 23"
before finish.
file: pop3.php
/* Private methods - DO NOT CALL */
Function GetLine(){
for($line="";;){
if(feof($this->connection))
return(0);
$line.=fgets($this->connection,100); /*
this is line 23 */
$length=strlen($line);
if($length>=2 && substr($line,$length-2,2)=="\r\n")
return(substr($line,0,$length-2));
}
}
Thanks,
Hotma MS