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 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: http://

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 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 elemen

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 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: I have some code doing some checks that sit inside div tags using href elements: ... Panel1 ... In code.php, if various conditions aren't met, this script will do a bunch of house cleaning, logging, then redirect using header("Location: /some_url"). My problem is that

[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: ... Panel1 ... In code.php, if various conditions aren't met, this script will do a bunch of house cleaning, logging, then redirect using header("Location: /some_url"). My problem is that /some_url comes

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"

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

[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 someone

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 mess

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 t

[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] 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 l

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? > >

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.

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 > > > > > >

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 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 commen

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 (10

[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 t

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 (http://www.php

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 b

Re: [PHP] SMTP vs mail()

2008-01-12 Thread Richard Heyes
Note - this was one call to mail(): mail(",, ..",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. -- Richard He

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 s

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. > > T

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 http://www.web

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. Usi

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] 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

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 d