|
Posted by Miguel Cruz on 07/29/06 18:23
"-Nacho-" <yoestepario@hotmail.com> wrote:
> I've been able to see that the problem is not due to time, but to the
> object mail I use.
>
> I use an object "mail" and I don't know how to kill it or to
> deinstantiate it after the first mail sending, to be able to
> instantiate it again for the next mails. This was hidden by the
> requires so it was not returning any error msg, but I've created a
> whole code embedding the code of the required files and now I get:
>
> Cannot redeclare class mime_mail in
> /home/transper/public_html/msend.php on line 52
This:
Class mime_mail { blah blah }
needs to be before your while loop.
Also make sure you are not include()ing the file containing this:
Class mime_mail { blah blah }
within your while loop.
miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu
Navigation:
[Reply to this message]
|