php-windows Digest 3 Mar 2005 07:28:57 -0000 Issue 2597
Topics (messages 25706 through 25710):
Re: static
25706 by: N.A.Morgan.bton.ac.uk
25709 by: Jason Barnett
Re: [Request] ISAPI and Keep-Alives
25707 by: Jason Barnett
Re: Error 500 in IIS weblog
25708 by: Jason Barnett
Gd2 dll library version higher than 2.0.28.
25710 by: Xtlan
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 ---
Check out the Zend website
http://www.zend.com/manual/language.oop5.static.php
Neil Morgan
-----Original Message-----
From: Joakim Ling [mailto:[EMAIL PROTECTED]
Sent: 02 March 2005 08:53
To: [email protected]
Subject: [PHP-WIN] static
hi
class foo {
static public $a = 1;
public function __construct() {
echo $this->a; /* does not work */
echo foo::$a; /* work */
}
}
Can someone please explain to me why I have to call $a outside the class to
get the value?
--- End Message ---
--- Begin Message ---
>
> class foo {
>
> static public $a = 1;
>
> public function __construct() {
>
> echo $this->a; /* does not work */
>
> echo foo::$a; /* work */
echo self::$a; /* work */
>
> }
>
> }
>
>
>
> Can someone please explain to me why I have to call $a outside the class to
> get the value?
$a is attached to the class, not any particular instance of the class.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Louis Solomon wrote:
> Any chance of fixing the ISAPI to allow HTTP Keep-Alives?
>
> and no, it's not just me :-) I checked the source code. it returns
> HSE_STATUS_SUCCESS for all success cases. It needs to return
> HSE_STATUS_SUCCESS_AND_KEEP_CONN to allow Keep-Alives to work. (and of
> course obey the other HTTP 1.1 rules such as, allowing for the client
> sending Connection-Close in the request headers, and setting Content-Length
> in it's reply headers etc)
>
I think it's safe to say you should be asking this question on the
php.internals list since this is an internal problem rather than a user
issue. It would be even *better* if you could write up a patch yourself
and ask the dev group to approve / improve your patch.
But thanks for trying out the user group first!
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Louis Solomon wrote:
> not happening here.
>
500 errors mean that you have an internal server error. Often times
this is because you misconfigured IIS and/or PHP. Try checking the
archives, you should find the answer to this one there. (Of course if
none of those answers work, then you can come back to us later telling
us what you tried that didn't fix your error...)
http://marc.theaimsgroup.com/?l=php-windows&w=2
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Hello.
I am an user of PHP ver. 5.x distributed for windows under IIS server.
Recently,
I have read about gd 2.0.29 and the newest one - ver. 2.0.33
(http://www.boutell.com/gd/ site) - but unfortunately they haven't supported
GD version for PHP released for windows. I wonder if there is any
possibility to use gd library newer than 2.0.28 under windows. Could you
help me and tell something more about? I need newer GD support for animated
gifs and transparent background for them. PNG newest servives seem to be
also valuable ...
Best regards for any advice,
Piotrek.
P.S.
Please do not tell me change server and system to Apache and Linux. This
looks like quite good solution but unfortunately I am working under above
mentioned conditions and nothing bigger can be changed on it :>
--- End Message ---