dezkit Posted July 27, 2008 Share Posted July 27, 2008 hi, i have like 50 entries in my database and for one of my scripts i run a while loop to send a newsletter to each one of them. it takes very long for it to long and i was wondering if there is anything like a progress bar that i can use thanks Quote Link to comment Share on other sites More sharing options...
dezkit Posted July 27, 2008 Author Share Posted July 27, 2008 bump b4 i go to sleep Quote Link to comment Share on other sites More sharing options...
toivo Posted July 27, 2008 Share Posted July 27, 2008 Hi, http://pear.php.net/package/HTML_Progress2 I have not tried it but it looks promising. Regards, Quote Link to comment Share on other sites More sharing options...
dezkit Posted July 27, 2008 Author Share Posted July 27, 2008 lol, i just woke up, thanks for the reply but... the download link doesnt work ;/ Quote Link to comment Share on other sites More sharing options...
toivo Posted July 27, 2008 Share Posted July 27, 2008 Try this then: http://download.pear.php.net/package/HTML_Progress2-2.4.1.tgz - and check the dependencies from: http://pear.php.net/package/HTML_Progress2/download If that scares you but you are handy with javascript, you should consider a plugin for jQuery http://jquery.com: http://digitalbush.com/projects/progress-bar-plugin/ Quote Link to comment Share on other sites More sharing options...
dezkit Posted July 27, 2008 Author Share Posted July 27, 2008 toivo what is tgz? Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted July 27, 2008 Share Posted July 27, 2008 Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. For the sending of large amounts of email, see the » PEAR::Mail, and » PEAR::Mail_Queue packages. Quote Link to comment Share on other sites More sharing options...
toivo Posted July 29, 2008 Share Posted July 29, 2008 toivo what is tgz? It is a gnu-zipped tar file, nothing that WinRAR couldn't handle - if you are a Windows user. Cheers, toivo Quote Link to comment Share on other sites More sharing options...
d.shankar Posted July 29, 2008 Share Posted July 29, 2008 dezkit post ur table structure ... is it enough for you if the script just sends mail using mail() function ?? if so, i'll code it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.