Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 wrote: > is there an efficient way to hold the requests while loop is an expensive > way in most cases. You can call sleep(number_of_seconds_to_sleep) within the while loop to lower the cost, so to speak. > and i don't know how to notify the holding conn

Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 wrote: > > > 2011/6/3 Adam Richardson > >> On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 wrote: >> >>> is there an efficient way to hold the requests while loop is an expensive >>> way in most cases. >> >> >> You can call sleep(number_of_seconds_to_sleep) within

Re: [PHP] Re: about php comet

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 7:11 AM, Adam Richardson wrote: > On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 wrote: > > > any idea? > > > > 2011/5/25 李白|字一日 > > > > > hello, > > > > > > I am every interested in comet applications recently, and sadly found > php > > > is very weak in this area. > > > > > > i

Re: [PHP] Re: about php comet

2011-06-03 Thread 李白|字一日
2011/6/3 Adam Richardson > On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 wrote: > >> >> >> 2011/6/3 Adam Richardson >> >>> On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 wrote: >>> is there an efficient way to hold the requests while loop is an expensive way in most cases. >>> >>> >>> You can call

[PHP] SimpleXML - parsing attributes with a namespace

2011-06-03 Thread Anthony Gladdish
Hi, Using following code does not parse the "xml:id" attribute. If I change the attribute's namespace to anything other than "xml" ( e.g. "new:id" ) then it works. $string = << XML; $xml = simplexml_load_string($string); foreach($xml->teiHeader->profileDesc->particDesc->person[

[PHP] SimpleXML - parsing attributes with a namespace

2011-06-03 Thread Anthony Gladdish
Hi, Using following code does not parse the "xml:id" attribute. If I change the attribute's namespace to anything other than "xml" ( e.g. "new:id" ) then it works. $string = << XML; $xml = simplexml_load_string($string); foreach($xml->teiHeader->profileDesc->particDesc->person[

Re: [PHP] php causes HTTP 500, but results in blank page in apache

2011-06-03 Thread Sean Greenslade
What happens if you create a test page with just the 500 header and some html content in it? IIRC, apache won't override a php-generated error page. On Jun 2, 2011 8:09 PM, "Stephon Chen" wrote: > Hello Sean, > > 1. while I directed connected to these error pages such as 403, 404, and > 500.html,

Re: [PHP] phpsadness

2011-06-03 Thread tedd
At 1:02 PM -0400 6/2/11, Daniel Brown wrote: On Tue, May 31, 2011 at 22:13, Bill Guion wrote: So if I understand, you want an explode() with empty parameters to explode the host machine? That's correct. If it causes too much userland confusion, we can alias it as detonate() as well.

Re: [PHP] phpsadness

2011-06-03 Thread Peter Lind
On Jun 3, 2011 3:48 PM, "tedd" wrote: > > At 1:02 PM -0400 6/2/11, Daniel Brown wrote: >> >> On Tue, May 31, 2011 at 22:13, Bill Guion wrote: >>> >>> >>> So if I understand, you want an explode() with empty parameters to explode >>> the host machine? >> >> >>That's correct. If it causes to

Re: [PHP] phpsadness

2011-06-03 Thread Richard Quadling
On 3 June 2011 15:23, Peter Lind wrote: >> echo('Alaho Akbar'); > Nice ... any idea how many people you just insulted there? Not me! You can quote any religious clap-trap. I won't be offended! -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY :

Re: [PHP] phpsadness

2011-06-03 Thread Paul M Foster
On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote: > On Jun 3, 2011 3:48 PM, "tedd" wrote: > > > > At 1:02 PM -0400 6/2/11, Daniel Brown wrote: > >> > >> On Tue, May 31, 2011 at 22:13, Bill Guion wrote: > >>> > >>> > >>> So if I understand, you want an explode() with empty parameters t

Re: [PHP] phpsadness

2011-06-03 Thread Marc Guay
Unsubscribe! Unsubscribe! Unsubscribe! Can I detonate() the future of this thread before it goes where it's about to go? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] phpsadness

2011-06-03 Thread admin
I am writing a filter as I reply, to delete any comments to this thread that come to my mailbox So I do not have to deal with manually deleting them as they come in. Richard L. Buskirk -Original Message- From: Marc Guay [mailto:marc.g...@gmail.com] Sent: Friday, June 03, 2011 10:58 AM T

Re: [PHP] phpsadness

2011-06-03 Thread Peter Lind
On Jun 3, 2011 4:52 PM, "Paul M Foster" wrote: > > On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote: > > > On Jun 3, 2011 3:48 PM, "tedd" wrote: > > > > > > At 1:02 PM -0400 6/2/11, Daniel Brown wrote: > > >> > > >> On Tue, May 31, 2011 at 22:13, Bill Guion wrote: > > >>> > > >>> > > >

Re: [PHP] phpsadness

2011-06-03 Thread Daniel Brown
On Thu, Jun 2, 2011 at 22:14, Paul M Foster wrote: > On Thu, Jun 02, 2011 at 01:02:26PM -0400, Daniel Brown wrote: > >> On Tue, May 31, 2011 at 22:13, Bill Guion wrote: >> > >> > So if I understand, you want an explode() with empty parameters to explode >> > the host machine? >> >>     That's cor

Re: [PHP] phpsadness

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 4:14 PM, Peter Lind wrote: > On Jun 3, 2011 4:52 PM, "Paul M Foster" wrote: > > > > On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote: > > > > > On Jun 3, 2011 3:48 PM, "tedd" wrote: > > > > > > > > At 1:02 PM -0400 6/2/11, Daniel Brown wrote: > > > >> > > > >> O

Re: [PHP] phpsadness

2011-06-03 Thread Richard Quadling
On 3 June 2011 16:14, Peter Lind wrote: > Admiring people that insult an entire religion? Really, it does not take > chutzpah, it just takes ignorance or stupidity to do something like that. > Nothing admirable about it. So says the man with muppet for an avatar! -- Richard Quadling Twitter :

Re: [PHP] phpsadness

2011-06-03 Thread Peter Lind
On 3 June 2011 17:36, Stuart Dallas wrote: > On Fri, Jun 3, 2011 at 4:14 PM, Peter Lind wrote: >> >> On Jun 3, 2011 4:52 PM, "Paul M Foster" wrote: >> > >> > On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote: >> > >> > > On Jun 3, 2011 3:48 PM, "tedd" wrote: >> > > > >> > > > At 1:02 P

[PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Daniel Brown
First of all, a happy Friday to all here. Hopefully some of you will be able to pass this on to your boss and get sent home early. Second, as dreamed up in the previous thread, I've decided to take a few moments this morning to build and release a new PHP extension, which provides a singl

Re: [PHP] phpsadness

2011-06-03 Thread Larry Martell
On Fri, Jun 3, 2011 at 9:29 AM, Daniel Brown wrote: > On Thu, Jun 2, 2011 at 22:14, Paul M Foster wrote: >> On Thu, Jun 02, 2011 at 01:02:26PM -0400, Daniel Brown wrote: >> >>> On Tue, May 31, 2011 at 22:13, Bill Guion wrote: >>> > >>> > So if I understand, you want an explode() with empty param

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Eric Butera
On Fri, Jun 3, 2011 at 11:56 AM, Daniel Brown wrote: >    First of all, a happy Friday to all here.  Hopefully some of you > will be able to pass this on to your boss and get sent home early. > >    Second, as dreamed up in the previous thread, I've decided to take > a few moments this morning to

Re: [PHP] phpsadness

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 4:56 PM, Peter Lind wrote: > On 3 June 2011 17:36, Stuart Dallas wrote: > > On Fri, Jun 3, 2011 at 4:14 PM, Peter Lind > wrote: > >> > >> On Jun 3, 2011 4:52 PM, "Paul M Foster" > wrote: > >> > > >> > On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote: > >> > > >

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 4:56 PM, Daniel Brown wrote: >First of all, a happy Friday to all here. Hopefully some of you > will be able to pass this on to your boss and get sent home early. > >Second, as dreamed up in the previous thread, I've decided to take > a few moments this morning to

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Daniel Brown
On Fri, Jun 3, 2011 at 12:12, Eric Butera wrote: > > Why do you insist on invading my privacy by making me use your url > shortening service? :) Because I've always hated you and everything it is for which you stand. I tell you that on your voicemail in the middle of the night every night, y

RE: [PHP] phpsadness

2011-06-03 Thread Jasper Mulder
> Stuart Dallas wrote: > > [SNIP] > > And this is where we disagree. Everyone is entitled to an opinion, and > they're also entitled to express that opinion, whether through humour or > simple statement. Somehow in your response I taste that you don't like people, whose opinion is that not eve

Re: [PHP] phpsadness

2011-06-03 Thread Eric Butera
On Fri, Jun 3, 2011 at 12:37 PM, Jasper Mulder wrote: > >> Stuart Dallas wrote: >> >> [SNIP] >> >> And this is where we disagree. Everyone is entitled to an opinion, and >> they're also entitled to express that opinion, whether through humour or >> simple statement. > > Somehow in your response I

Re: [PHP] phpsadness

2011-06-03 Thread Marc Guay
What's PHP? I thought this was the top-posting-etiquette-discussion-and-simmering-race-war group. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpsadness

2011-06-03 Thread Eric Butera
On Fri, Jun 3, 2011 at 1:05 PM, Marc Guay wrote: > What's PHP?  I thought this was the > top-posting-etiquette-discussion-and-simmering-race-war group. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I just wanted to do my part to

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Paul M Foster
On Fri, Jun 03, 2011 at 11:56:21AM -0400, Daniel Brown wrote: > First of all, a happy Friday to all here. Hopefully some of you > will be able to pass this on to your boss and get sent home early. > > Second, as dreamed up in the previous thread, I've decided to take > a few moments this

Re: [PHP] phpsadness

2011-06-03 Thread tedd
At 4:23 PM +0200 6/3/11, Peter Lind wrote: On Jun 3, 2011 3:48 PM, "tedd" <tedd.sperl...@gmail.com> wrote: >>That's correct. If it causes too much userland confusion, we can >> alias it as detonate() as well. > Yes, to be preceded with: > echo('Alah

[PHP] Odd Apache2/PHP Problem

2011-06-03 Thread Floyd Resler
I am having a really odd Apache2/PHP problem. My employer set up a new Web server to migrate our Web sites to. One site requires a log in and I have the ability to log in a someone else. However, when I do this, Apache throws a Segmentation fault error. It's happening when it tries to get us

Re: [PHP] php causes HTTP 500, but results in blank page in apache

2011-06-03 Thread Tamara Temple
On Jun 2, 2011, at 7:09 PM, Stephon Chen wrote: Hello Sean, 1. while I directed connected to these error pages such as 403, 404, and 500.html, they works correctly, showing correct error page 2. but while I use something like header('HTTP/1.1 500') to trigger apache 500 the content of 5

Re: [PHP] phpsadness

2011-06-03 Thread Peter Lind
On 3 June 2011 20:42, tedd wrote: > At 4:23 PM +0200 6/3/11, Peter Lind wrote: >> >> On Jun 3, 2011 3:48 PM, "tedd" >> <tedd.sperl...@gmail.com> wrote: >>  >>    That's correct.  If it causes too much userland confusion, we can >>  >> alias it as detonate() as well.

Re: [PHP] Odd Apache2/PHP Problem

2011-06-03 Thread Daniel P. Brown
On Fri, Jun 3, 2011 at 15:12, Floyd Resler wrote: > I am having a really odd Apache2/PHP problem.  My employer set up a new Web > server to migrate our Web sites to.  One site requires a log in and I have > the ability to log in a someone else.  However, when I do this, Apache throws > a Segmen

Re: [PHP] phpsadness

2011-06-03 Thread David Harkness
The original PHP Sadness page didn't actually make me sad. This thread, however, *is*. Can we all agree that we have different opinions on what makes an appropriate joke and move on? Here's to less sadness in the world . . . David

Re: [PHP] phpsadness

2011-06-03 Thread Haig Dedeyan
On 11-06-03 04:47 PM, David Harkness wrote: The original PHP Sadness page didn't actually make me sad. This thread, however, *is*. Can we all agree that we have different opinions on what makes an appropriate joke and move on? Here's to less sadness in the world . . . David Here's some joy fo

RE: [PHP] phpsadness - P.C. shmee seee.

2011-06-03 Thread Daevid Vincent
> >> Reminds me (obliquely) of an entry in the index for "The C Programming > >> Language" for recursion, which points right back to that index page. I > >> about doubled over when I first discovered it. > > > >That's hilarious. I love subtle humor like that. This whole thread seems to echo t

RE: [PHP] phpsadness

2011-06-03 Thread Daevid Vincent
Damn. Ironically, I wanted to write something short and succinct like that ... then I got all worked up and started to rant. Well said 'guy with my same name'. :) > -Original Message- > From: David Harkness [mailto:davi...@highgearmedia.com] > Sent: Friday, June 03, 2011 1:47 PM > To: PHP

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread xucheng
I create a script with : php -r ' detonate();' via the CLI , and get this : PHP Fatal error: This system will self-destruct in five four three two one [CONNECTION TO HOST INTERRUPTED] in Command line code on line 1 is this an expected result ? 2011/6/3 Daniel Brown : >    Fi