RE: [PHP] php in free()
| From: | Niklas Lampén | Date: | Tue, 18 Dec 2001 06:26:31 +0000 |
| Subject: | RE: [PHP] php in free() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78043@lists.php.net to get a copy of this message | ||
Your code runs more than 30 seconds.
Try using set_time_limit(n) function.
Niklas
-----Original Message-----
From: Rick [mailto:ripped_edge@hotmail.com]
Sent: 18. joulukuuta 2001 2:46
To: php-general@lists.php.net
Subject: [PHP] php in free()
I'm running a script that times out durring a certian action.
Fatal error: Maximum execution time of 30 seconds exceeded in
/usr/local/web/htdocs/mail/functions.php on line 1200
The error logs say: php in free(): warning: recursive call.
The offending lines of code, and here's what really gets me, is a simple
while():
while(!feof($socket)){
$data .= fgets($socket, 1024);
}
Which is just reading data from an SMTP socket. I haven't been able to
find any information about this php in free() error. Any ideas?
Thanks!
dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net To
contact the list administrators, e-mail: php-list-admin@lists.php.net