also - rather than change the ini file, you can just put

<?php
set_time_limit(43200);
?>

which gives the script 12 hours to run (or however you think you need)

i have a simple script for mailing out bulk mail done in php - it has
successfully worked on 700 emails so far - so it works :)

-b

// -----Original Message-----
// From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
// Sent: Tuesday, 15 January 2002 1:52 AM
// To: Faye Keesic
// Cc: [EMAIL PROTECTED]
// Subject: Re: [PHP-DB] Problem with mail function
// 
// 
// Is it the ole 30-second timeout thang?  Changeable in php.ini?
// 
// On Mon, 14 Jan 2002, Faye Keesic wrote:
// 
// > Hi there...
// >
// > I have a problem mailing out approx. 180 emails (no 
// attachments) using the
// > mail() php function.  I loop through the email table once, 
// sending the email
// > to everyone in the list.
// >
// > The problem is that my page seems to time out when I send 
// the emails, and it
// > refreshes itself.  So if I don't manually stop the browser 
// after say, 10
// > seconds, the recipients in the email table get the email 
// more than one time.
// >
// > Maybe I shouldn't be trying to send that many emails at a 
// time. I am on
// > apache using mysql and php...
// > --
// > Faye Keesic
// > Computer Programmer Analyst/Web Page Design
// >
// >
// > --
// > PHP Database Mailing List (http://www.php.net/)
// > To unsubscribe, e-mail: [EMAIL PROTECTED]
// > For additional commands, e-mail: [EMAIL PROTECTED]
// > To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// >
// >
// 
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, e-mail: [EMAIL PROTECTED]
// For additional commands, e-mail: [EMAIL PROTECTED]
// To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to