php-general Digest 3 Jun 2011 05:51:02 -0000 Issue 7341
Topics (messages 313313 through 313320):
Re: phpsadness
313313 by: Philip Thompson
313318 by: Tamara Temple
313319 by: Paul M Foster
Re: php causes HTTP 500, but results in blank page in apache
313314 by: Sean Greenslade
313317 by: Stephon Chen
Re: smart auto download file
313315 by: Sean Greenslade
INTERNATIONAL MONETARY FUND ?
313316 by: Mr Jones Smith
Re: about php comet
313320 by: æç½|å䏿¥
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
On Thu, Jun 2, 2011 at 12:02 PM, Daniel Brown <[email protected]> wrote:
> On Tue, May 31, 2011 at 22:13, Bill Guion <[email protected]> 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.
>
>
It would be nice if there were a "Like" feature here...
~Philip
--
http://lonestarlightandsound.com/
--- End Message ---
--- Begin Message ---
On Jun 2, 2011, at 12:26 PM, Philip Thompson wrote:
On Thu, Jun 2, 2011 at 12:02 PM, Daniel Brown <[email protected]>
wrote:
On Tue, May 31, 2011 at 22:13, Bill Guion <[email protected]> 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.
Reminds me of the old assembler instruction EPI - execute programmer
immediately.
It would be nice if there were a "Like" feature here...
no, please, facebook is already overreaching itself.
--- End Message ---
--- Begin Message ---
On Thu, Jun 02, 2011 at 01:02:26PM -0400, Daniel Brown wrote:
> On Tue, May 31, 2011 at 22:13, Bill Guion <[email protected]> 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.
It would be so hilarious if this made it into the docs as a (spoof)
command. I could see some n00b skimming over the docs and going, "Wait,
what--?"
Oh-- how about if the detonate() command just echoed a series of "tick"
strings to the web page? Can't you just imagine the frantic tech support
calls from n00b PHP coders to the tech support departments of their
hosting companies? "Oh crap oh crap! Pick up the phone already! Oh
crap I'm so busted!"
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.
Paul
--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com
--- End Message ---
--- Begin Message ---
So do you get the contents of that page in the response? What happens when
you browse to that page manually?
On Jun 1, 2011 2:14 AM, "Stephon Chen" <[email protected]> wrote:
> All 403, 404, 500.html are static html pages like:
>
> <div>
> 500 error happens
> </div>
>
> On Wed, Jun 1, 2011 at 14:10, Tamara Temple <[email protected]>
wrote:
>
>>
>> On May 31, 2011, at 8:14 AM, Stephon Chen wrote:
>>
>> Hello Sean,
>>>
>>> Here is my apache config for error handling.
>>> 403, 404 works fine, but 500 shows blank page
>>>
>>> Alias /errorpage/ "/usr/local/www/apache22/errorpage/"
>>> <Directory "/usr/local/www/apache22/errorpage/">
>>> AllowOverride None
>>> Options -Indexes FollowSymLinks MultiViews
>>> Order allow,deny
>>> Allow from all
>>> </Directory>
>>> #
>>> ErrorDocument 403 /errorpage/403.html
>>> ErrorDocument 404 /errorpage/404.html
>>> ErrorDocument 500 /errorpage/500.html
>>>
>>
>> What's in 500.html?
>>
>>
--- End Message ---
--- Begin Message ---
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 500.html does not show, but blank page only.
both header('HTTP/1.1 403') and header('HTTP/1.1 404') shows the correct
custom error page.
Thanks a lot
--
stephon
On Fri, Jun 3, 2011 at 07:21, Sean Greenslade <[email protected]> wrote:
> So do you get the contents of that page in the response? What happens when
> you browse to that page manually?
> On Jun 1, 2011 2:14 AM, "Stephon Chen" <[email protected]> wrote:
> > All 403, 404, 500.html are static html pages like:
> >
> > <div>
> > 500 error happens
> > </div>
> >
> > On Wed, Jun 1, 2011 at 14:10, Tamara Temple <[email protected]>
> wrote:
> >
> >>
> >> On May 31, 2011, at 8:14 AM, Stephon Chen wrote:
> >>
> >> Hello Sean,
> >>>
> >>> Here is my apache config for error handling.
> >>> 403, 404 works fine, but 500 shows blank page
> >>>
> >>> Alias /errorpage/ "/usr/local/www/apache22/errorpage/"
> >>> <Directory "/usr/local/www/apache22/errorpage/">
> >>> AllowOverride None
> >>> Options -Indexes FollowSymLinks MultiViews
> >>> Order allow,deny
> >>> Allow from all
> >>> </Directory>
> >>> #
> >>> ErrorDocument 403 /errorpage/403.html
> >>> ErrorDocument 404 /errorpage/404.html
> >>> ErrorDocument 500 /errorpage/500.html
> >>>
> >>
> >> What's in 500.html?
> >>
> >>
>
--- End Message ---
--- Begin Message ---
What about an HTTP header redirect? You can set a delay on that AFAIK.
On Jun 1, 2011 10:52 AM, "Jonesy" <[email protected]> wrote:
> On Tue, 31 May 2011 21:01:09 +0100, Stuart Dallas wrote:
>>
>> Sometimes I miss the way the web was before javascript :/
>
> Sometimes???
>
> Jonesy
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
INTERNATIONAL MONETARY FUND
23 HERBERT MARCULARY AVENUE
WUSE 2 GARKI ABUJA
FEDERAL CAPITAL TERRITORY
Attention
A power of attorney was forwarded to our office this morning by two gentle men,
one of them is an American national and he is MR DAVID DEANE by name while the
other person is MR... JACK MORGAN by name a CANADIAN national.
This gentlemen claimed to be your representative, and this power of attorney
stated that you are dead, they brought an account to replace your information
in other to claim your fund of $12.5 Million USD which is now lying DORMANT and
UNCLAIMED, below is the new account they have submitted:
BANK.-HSBC CANADA
Vancouver, CANADA
ACCOUNT NO. 2984-0008-66
Be further informed that this power of attorney also stated that you suffered
and died of throat cancer. You are therefore given 24hrs to confirm the truth
in this information, if you are still alive, you are to contact us back
immediately, because we work 24 hrs just to ensure that we monitor all the
activities going on in regards to the transfer of beneficiaries inheritance
and contract payment.
You are to call this office +234-816-981-7030 immediately for clarifications on
this matter as we shall be available 24 hrs to speak with you and give you the
necessary guidelines on how to ensure that your payment is wired to you
immediately.
Just also be informed that any further delay from your side could be dangerous,
as we would not be held responsible of wrong payment.
Kindly reply
Mr Jones Smith
--- End Message ---
--- Begin Message ---
any idea?
2011/5/25 李白|字一日 <[email protected]>
> hello,
>
> I am every interested in comet applications recently, and sadly found php
> is very weak in this area.
>
> i am just wondering if it is possible to write an extension to extend the
> ability of the php to easy the way to comet applications?
>
> if it possible for php to hold the connect from the client when it is in
> fast cgi mode or apache mod php mode?
>
> thanks.
>
>
--- End Message ---