php-general Digest 12 Jan 2008 17:38:15 -0000 Issue 5231

2008-01-12 Thread php-general-digest-help
php-general Digest 12 Jan 2008 17:38:15 - Issue 5231 Topics (messages 267137 through 267154): Re: SMTP vs mail() 267137 by: Per Jessen 267138 by: Per Jessen 267139 by: Richard Heyes 267140 by: Per Jessen 267141 by: Richard Heyes 267142 by: Per

Re: [PHP] SMTP vs mail()

2008-01-12 Thread Per Jessen
Richard Heyes wrote: Assuming you're talking delivery to a local MTA (which will subsequently do the remote delivery), is speed really important? For the amount of email I'm looking at (1000s, growing), yes. Hmm, that's not quite what I was thinking of. The amount of emails to be

Re: [PHP] Re: SMTP vs mail()

2008-01-12 Thread Per Jessen
Manuel Lemos wrote: Still if you want the fastest delivery in the world, you can skip queueing and talk directly to the final SMTP server. That is what the direct_delivery mode of this SMTP class does. I use it for deliverying really urgent messages. It uses PHP only, there is no sendmail or

Re: [PHP] SMTP vs mail()

2008-01-12 Thread Richard Heyes
Assuming you're talking delivery to a local MTA (which will subsequently do the remote delivery), is speed really important? For the amount of email I'm looking at (1000s, growing), yes. Hmm, that's not quite what I was thinking of. The amount of emails to be delivered does not in my opinion

Re: [PHP] SMTP vs mail()

2008-01-12 Thread Per Jessen
Richard Heyes wrote: Bearing in mind I haven't yet done any benchmarks, which do you think is faster - SMTP with multiple RCPT commands or the PHP mail() function (with it launching a separate sendmail process for each mail() function call)? I've done some rough benchmarking - 1. Using

Re: [PHP] SMTP vs mail()

2008-01-12 Thread Richard Heyes
1. Using mail(), same email sent to 1000 users. Script finished in 200ms (1000 emails delivered to local MTA). Delivery to target MTA over 100Mbit LAN took about 6s. That settles it then. The mail() command will be more than fast enough for my needs. Thanks. -- Richard Heyes

Re: [PHP] SMTP vs mail()

2008-01-12 Thread Per Jessen
Richard Heyes wrote: 1. Using mail(), same email sent to 1000 users. Script finished in 200ms (1000 emails delivered to local MTA). Delivery to target MTA over 100Mbit LAN took about 6s. That settles it then. The mail() command will be more than fast enough for my needs. Thanks. Note

Re: [PHP] SMTP vs mail()

2008-01-12 Thread Richard Heyes
Note - this was one call to mail(): mail(user1,user2,user3 ..,subject,text); Granted, but as long as the email stays the same size when you compare mail() and something like SMTP, I wouldn't imagine the relative speeds varying significantly. Or maybe they would, I'll compare and see.

Re: [PHP] Posting Summary for Week Ending 11 January, 2008: php-general@lists.php.net

2008-01-12 Thread Scott Wilcox
well thats just no good is it :P Thats pretty funky, congrats on the concept and implementation :) Daniel Brown wrote: On Jan 11, 2008 4:11 PM, Jason Pruim [EMAIL PROTECTED] wrote: Hate to shot a hole in your script Dan... But my posts aren't listed :P and I had a few on Jan 8 :) Where

Re: [PHP] SMTP vs mail()

2008-01-12 Thread Scott Wilcox
Per Jessen wrote: Richard Heyes wrote: Bearing in mind I haven't yet done any benchmarks, which do you think is faster - SMTP with multiple RCPT commands or the PHP mail() function (with it launching a separate sendmail process for each mail() function call)? I've done some rough

Re: [PHP] PHP shell commands

2008-01-12 Thread Lucas Prado Melo
On Jan 12, 2008 4:12 AM, Andrés Robinet [EMAIL PROTECTED] wrote: I guess what you are looking for is mod_suphp. STFW or ask the list, someone will give you good hints for sure (sorry, have little time right now). Rob Thanks, I will take a look. -- PHP General Mailing List

[PHP] XML Data merging

2008-01-12 Thread Naz Gassiep
I'm using simplexml to fetch data from a set of data files. If I have two files, and one is an update to the other, is there an easy way to merge the two files together, rather than having write logic that checks one and then the other? Both files conform to the same DTD and thus the data in

Re: [PHP] Posting Summary for Week Ending 11 January, 2008:

2008-01-12 Thread tedd
At 4:00 PM -0500 1/11/08, PostTrack [Dan Brown] wrote: Posting Summary for PHP-General List Week Ending: Friday, 11 January, 2008 Messages| Bytes | Sender +-+-- 226 (100%) 255776

Re: [PHP] Posting Summary for Week Ending 11 January, 2008:

2008-01-12 Thread tedd
At 4:10 PM -0500 1/11/08, Daniel Brown wrote: THAT was the way it was supposed to work. Though in all of the chaos, I forgot to fix the percentage factoring. It might be interesting to see how focused the posts are. For example, two people answering the same thread make the same

Re: [PHP] Posting Summary for Week Ending 11 January, 2008:

2008-01-12 Thread Zoltán Németh
2008. 01. 12, szombat keltezéssel 10.25-kor tedd ezt írta: At 4:00 PM -0500 1/11/08, PostTrack [Dan Brown] wrote: Posting Summary for PHP-General List Week Ending: Friday, 11 January, 2008 Messages| Bytes | Sender

Re: [PHP] Posting Summary for Week Ending 11 January, 2008:

2008-01-12 Thread Nathan Nobbe
On Jan 12, 2008 10:41 AM, Zoltán Németh [EMAIL PROTECTED] wrote: 2008. 01. 12, szombat keltezéssel 10.25-kor tedd ezt írta: At 4:00 PM -0500 1/11/08, PostTrack [Dan Brown] wrote: Posting Summary for PHP-General List Week Ending: Friday, 11 January, 2008 Messages

Re: [PHP] Posting Summary for Week Ending 11 January, 2008: php-general@lists.php.net

2008-01-12 Thread David Giragosian
On 1/12/08, Scott Wilcox [EMAIL PROTECTED] wrote: well thats just no good is it :P Thats pretty funky, congrats on the concept and implementation :) Daniel Brown wrote: On Jan 11, 2008 4:11 PM, Jason Pruim [EMAIL PROTECTED] wrote: Hate to shot a hole in your script Dan... But my posts

Re: [PHP] XML Data merging

2008-01-12 Thread Eric Butera
On 1/12/08, Naz Gassiep [EMAIL PROTECTED] wrote: I'm using simplexml to fetch data from a set of data files. If I have two files, and one is an update to the other, is there an easy way to merge the two files together, rather than having write logic that checks one and then the other? Both

Re: [PHP] XML Data merging

2008-01-12 Thread Steve Edberg
At 12:10 PM -0500 1/12/08, Eric Butera wrote: On 1/12/08, Naz Gassiep [EMAIL PROTECTED] wrote: I'm using simplexml to fetch data from a set of data files. If I have two files, and one is an update to the other, is there an easy way to merge the two files together, rather than having write

[PHP] searching in multidimensional array for a date

2008-01-12 Thread [EMAIL PROTECTED]
Hello to everybody, I am using the following function in order to search in multi-dimensional array, as per note added on http://it.php.net/array_search, [code] function array_search_recursive($data0, $FinRecSet, $a=0, $nodes_temp=array()){ global $nodes_found; $a++; foreach ($FinRecSet as

Re: [PHP] session_start problems with FireFox on Mac

2008-01-12 Thread Terry Calie
Hey... thanks for the replies. I installed the headers feature that Richard suggested and found that no headers were output. I started to transfer my php to another site to see if the problem replicated and I wasn't able to recreate the problem. It turns out that I require a file before

Re: [PHP] Re: SMTP vs mail()

2008-01-12 Thread Manuel Lemos
Hello, on 01/12/2008 07:28 AM Per Jessen said the following: Still if you want the fastest delivery in the world, you can skip queueing and talk directly to the final SMTP server. That is what the direct_delivery mode of this SMTP class does. I use it for deliverying really urgent messages.

[PHP] Guestbook

2008-01-12 Thread Andrés Robinet
Hi Guys, Anybody knows of a free and decent PHP Multilanguage guestbook (or at least supporting German and English)? I don't care if it is db-driven or uses flat files. I know how to write one, but it's for a website we didn't develop (but will now host) and I'm feeling a bit lazy... maybe

RE: [PHP] PHP shell commands

2008-01-12 Thread Andrés Robinet
Hi Lucas, This is it http://www.suphp.org/Home.html. However, please bear in mind that you may have some headaches after installing it. Some webmail scripts may break, as well as existing websites, so you'd better off researching what are the possible drawbacks. My recommendation would be that if

Re: [PHP] session_start problems with FireFox on Mac

2008-01-12 Thread Anup Shukla
Terry Calie wrote: Hey... thanks for the replies. I installed the headers feature that Richard suggested and found that no headers were output. I started to transfer my php to another site to see if the problem replicated and I wasn't able to recreate the problem. It turns out that I require

[PHP] Any way to use header() or another function to force user to top level

2008-01-12 Thread Chuck
I have some code doing some checks that sit inside div tags using href elements: ... div class=pArea a class=panel href=code.php?= target=pframe1 Panel1/a ... In code.php, if various conditions aren't met, this script will do a bunch of house cleaning, logging, then redirect

Re: [PHP] Any way to use header() or another function to force user to top level

2008-01-12 Thread Jim Lucas
Chuck wrote: I have some code doing some checks that sit inside div tags using href elements: ... div class=pArea a class=panel href=code.php?= target=pframe1 Panel1/a ... In code.php, if various conditions aren't met, this script will do a bunch of house cleaning, logging,

Re: [PHP] Any way to use header() or another function to force user to top level

2008-01-12 Thread Chuck
That is exactly what I am using now but the location I am redirecting to is loading within the div tags and at the top level of the browser. -CC On 1/12/08, Jim Lucas [EMAIL PROTECTED] wrote: Chuck wrote: I have some code doing some checks that sit inside div tags using href elements: ...

Re: [PHP] Any way to use header() or another function to force user to top level

2008-01-12 Thread Jim Lucas
Chuck wrote: That is exactly what I am using now but the location I am redirecting to is loading within the div tags and at the top level of the browser. -CC On 1/12/08, Jim Lucas [EMAIL PROTECTED] wrote: Chuck wrote: I have some code doing some checks that sit inside div tags using href

Re: [PHP] Any way to use header() or another function to force user to top level

2008-01-12 Thread Anup Shukla
Chuck wrote: That is exactly what I am using now but the location I am redirecting to is loading within the div tags and at the top level of the browser. Are you using AJAX to load the page? -- Regards, Anup Shukla -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: